C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } 3 hello None of these Compiler Error Linking error 3 hello None of these Compiler Error Linking error ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(); void funct(x) { printf(“Hello"); } None of these void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } int funct(); void funct(x) { printf(“Hello"); } None of these void funct(int) { printf(“Hello"); } int funct(int x) { return x=x+1; } ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 54554 45545 54544 45445 54554 45545 54544 45445 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 6 4 Error 5 6 4 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Veda Exam Veda Exam Exam\0Veda None of these Veda Exam Veda Exam Exam\0Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} Error None of These zero three Error None of These zero three ANSWER DOWNLOAD EXAMIANS APP