C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 216 215 – 1 216 – 1 None of these 215 216 215 – 1 216 – 1 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The function sprintf() works like printf(), but operates on .......... string stderr Data file stdin no such function in 'C'. string stderr Data file stdin no such function in 'C'. ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 -5 1 15 10 30 -5 1 15 10 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 10..50 0 10..10 Error 10..50 0 10..10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. There is no difference between them. A declaration occurs once, but a definition may occur many times. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. There is no difference between them. ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on the first column has # as the first character need not start on a new line comes before the first executable statement need not start on the first column has # as the first character need not start on a new line comes before the first executable statement ANSWER DOWNLOAD EXAMIANS APP