C Programming Which is the only function all C programs must contain? start() system() main() getch() printf() start() system() main() getch() printf() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 11 Error 1 12 11 Error 1 12 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);} complier error 1 -1 -1 -1 1 -1 1 1 complier error 1 -1 -1 -1 1 -1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the result of compiling and running this code?main(){ char string[] = "Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print garbage value Compilation Error will print Hello World None of these. will print garbage value Compilation Error will print Hello World None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } int funct(); None of these void funct(x) { printf(“Hello"); } int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } int funct(); None of these void funct(x) { printf(“Hello"); } 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 );} 1 0.25 9 0.5 2 1 0.25 9 0.5 2 ANSWER DOWNLOAD EXAMIANS APP