C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 Garbage Value None of These 10 1 Garbage Value None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error Ok here None of These Forget it Error Ok here None of These Forget it ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } None of these void funct(x) { printf(“Hello"); } int funct(); int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=EXAMIANS y=EDA y=VEDA y=MVEDA y=AMVEDA y=EXAMIANS y=EDA y=VEDA y=MVEDA y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct statement.I. The scope of a macro definition need not be the entire program.II. The scope of a macro definition extends from the point of definition to the end of the file.III. New line is a macro definition delimiter.IV. A macro definition may go beyond a line. I, II and III II, III and IV I and II II and III I, II, III and IV I, II and III II, III and IV I and II II and III I, II, III and IV ANSWER DOWNLOAD EXAMIANS APP