This post contains 61-70 questions of c program. It will helpful to solve c aptitude questions, c quiz , c objective type questions etc in interview. 61-70 Questions Q1: void main() { int i; char a[]=”\0″; if(printf(“%s\n”,a)) printf(“Ok here \n”); else printf(“Forget it\n”); } Answer: Ok here Q2: main() { clrscr(); } clrscr(); Answer: No […]
Category Archives: C Programming
This post contains 71-80 questions of c program. It will helpful to solve c aptitude questions, c quiz , c objective type questions etc in interview. 71-80 Questions Q1: If a two dimensional array is used as a formal parameter, then a) both the subscripts may be left empty b) the first( row) subscript may […]
C Programming Tutorial auto double int struct break else long switch case enum register typedef char extern return union continue for signed void do if static while default goto sizeof volatile const float short unsigned
/*———- C Scanf Sample Program ——-*/ main() { int number; printf(“Enter an integer number\n”); scanf(“%d”, &number;); if( number <100 ){ printf(“Your number is smaller than 100\n\n”); } else { printf(“Your number is greater than 100\n\n””); } } Output Enter an integer number 90 Your number is smaller than 100 Enter an integer number 155 Your […]