A preprocessor command need not start on a new line comes before the first executable statement has # as the first character need not start on the first column TRUE ANSWER : ? YOUR ANSWER : ?
The address operator &, cannot act on Members of a structure R-values Local variables Both of the above Arithmetic expressions TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ? rem = modf(3.14, 2.1); Remainder cannot be obtain in floating point division. rem = fmod(3.14, 2.1); rem = 3.14 % 2.1; TRUE ANSWER : ? YOUR ANSWER : ?
If integer needs two bytes of storage, then maximum value of an unsigned integer is None of these 215 – 1 216 – 1 215 216 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the program ?#include<stdio.h>int main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 0 None of these 10 6 1 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the correct output of the following program?#include<string.h>void main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE C NOITANIMAXE No output at all. Syntax error C TRUE ANSWER : ? YOUR ANSWER : ?
What is the maximum number of dimensions an array in C may have? 8 50 Theoratically no limit. The only practical limits are memory size and compilers. 2 20 TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 10 None of These 1 Garbage Value TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54544 45445 54554 45545 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the given program?#include<stdio.h>void main(){ int value=0; if(value) printf("well done "); printf("examveda");} None of these complier error well done examians examians TRUE ANSWER : ? YOUR ANSWER : ?