C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 100 Error 1 100 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 Garbage Value Error None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error None of These 10 20 30 40 50 10 20 30 40 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Unequal Equal None of these. Error Unequal Equal None of these. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is function? Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. Function is a block of statements that perform some specific task. Function is the fundamental modular unit. A function is usually designed to perform a specific task. All of these Function is a block of code that performs a specific task. It has a name and it is reusable. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 10 10 20 Run time error 20 20 10 10 10 20 Run time error 20 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 6 7 It will not compile because not enough initializers are given 12 24 6 7 It will not compile because not enough initializers are given 12 24 ANSWER DOWNLOAD EXAMIANS APP