C LANGUAGE - Programming Online Tests
Question 1: Who is the inventor of C? ...

Question 1: Which takes the first precedence in evaluation among the following operators? ...

Question 1: Which of the following denote components of for loop? ...

Question 1: What will be the output of this program?
#include

Question 1: Which of the following statement is false? ...

Question 1: main() { static char str[]="Academy"; printf("%s\n%s",str,"Academy"); } ...

Question 1: In order to properly use a variable - ...

Question 1: Which of the following denotes file modes that can be used in C program? ...

Question 1: The printf() function retunes which value when an error occurs? ...

Question 1: What is the output of the following 'C' program? main() { printf("%d%d%d,sizeof(3.14f),sizeof(3.14),sizeof(3.14l)); } ...

Question 1: The conditional operator in C program is denoted by ...

Question 1: Which operator performs modulous operation? ...

Question 1: The maximum length of a variable in C is ___ ...

Question 1: The number of the relational operators in the C language is ...

Question 1: main( ) { int x = 30 , y = 40 ; if ( x != y ) printf( "x is equal to y" ) ; elseif ( x > y ) printf( "x is greater than y" ) ; elseif ( x < y ) printf( "x is less than y" ) ; } ...

Question 1: A function CANNOT be defined inside another function.(T/F)? ...

Question 1: The operator / can be applied to ...

Question 1: Which of the following denotes a new line character in C program ...

Question 1: the declaration int (*p) [5]; means? ...

Question 1: main( ) { float a = 5, b = 2 ; int c ; c = a / b ; printf ( "%d", c ) ; } ...

Question 1: main( ) { float a, b ; printf ( "Enter values of a and b" ) ; scanf ( " %d %d ", &a, &b ) ; printf ( "a = %d b = %d", a, b ) ; } ...

Question 1: #define CUBE(X) (X*X*X) main() { int a; a=27/CUBE(3); printf("%d", a); } ...

Question 1: main( ) { int a = 3, b, c ; if ( a <= 4 ) b = 3 ; c = 2 ; printf ( "\n%d %d", b, c ) ; } ...

Question 1: main( ) { int x = 3 ; float y = 4.0 ; if ( x == y ) printf ( "\nx and y are equal" ) ; else printf ( "\nx and y are not equal" ) ; } ...

Question 1: What is the final value of digit ? main() { int digit; for(digit=0;digit<=9;++digit) printf("%d/n",digit); digit=2*digit; --digit; } ...

Question 1: main() { int x=3,z; z=x++ + 10; printf("x=%d z=%d",x,z); } ...

Question 1: main() { float a=12.25, b=13.65; if(a=b) printf(:"a and b are equal"); else printf("a and b are not equal"); } ...

Question 1: main( ) { int i = 5, j = -1, k = 0, y, z ; y = i + 5 && j + 1 || k + 2 ; z = i + 5 || j + 1 || k + 2 ; printf ( "\ny = %d z = %d", y, z ) ; } ...

Question 1: main() { int i=3, j; j=add(++i++); printf("i=%dj=%d\n", i, j); } add(ii) int ii; { ii++; printf("ii=%d\n", ii); } ...

Question 1: Who developed unix operating system? ...

Question 1: What is the output of the following 'C' program ? main() { unsigned int a=0xffff; ~a; printf("%x",a); } ...

Question 1: Which of the following is the correct output for the program given below? main() { char str[]="part-time musicians are semiconductors"; int a=5; printf(a>10?"%50s":"%s",str); } ...

Question 1: main() { double x, d=4.4; int i=2, y; x=(y=d/i)*2; printf("x=%lfy=%d", x, y); y=(x=d/i)*2; printf("x=%lfy=%d", x, y); } ...

Question 1: #include











