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} 10..10 Error 10..50 0 10..10 Error 10..50 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=3 c=3 d=5 c=3 d=3 c=5 d=5 c=5 d=3 c=3 d=5 c=3 d=3 c=5 d=5 ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The number of successful read input values. The actual values read for each argument. ASCII value of the input read. 0 1 The number of successful read input values. The actual values read for each argument. ASCII value of the input read. 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] None of these. int(*p(char *))[] int (*p) (char *)[] int *p(char *)[] ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Needs input data. Must contain at least one function. Need not contain any function. None of these Needs input data. Must contain at least one function. Need not contain any function. None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, III and IV III and IV I, II and III II and III I and II I, III and IV III and IV I, II and III II and III I and II ANSWER DOWNLOAD EXAMIANS APP