C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 10 50 Compiler Error None of These 10 50 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} -1 complier error 1 -1 -1 1 -1 1 1 -1 complier error 1 -1 -1 1 -1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Pick the correct statements.I. The body of a function should have only one return statement.II. The body of a function may have many return statements.III. A function can return only one value to the calling environment.IV. If return statement is omitted, then the function does its job but returns no value to the calling environment. II and III II and IV III and IV I and II I and III II and III II and IV III and IV I and II I and III ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.5 2 9 0.25 1 0.5 2 9 0.25 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} Error 6 None of these 5 9 Error 6 None of these 5 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with Both of the above An alphabet A special symbol other than underscore A number Both of the above An alphabet A special symbol other than underscore A number ANSWER DOWNLOAD EXAMIANS APP