C Programming Who is father of C Language? Bjarne Stroustrup James Gosling F. Codd Dennis Ritchie Dr. Bjarne Stroustrup James Gosling F. Codd Dennis Ritchie Dr. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. There will be a compilation error reported. The program will not enter into the loop. A run time error will be generated. The loop will run infinitely many times. Prints the value of 0 one time only. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} None of These 5 7 6 None of These 5 7 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Compilation Error 5 4 3 2 1 5 5 5 5 5 None of these Infinite Loop Compilation Error 5 4 3 2 1 5 5 5 5 5 None of these Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } exam is printed Compiler Error XAM is printed Nothing is printed exam is printed Compiler Error XAM is printed Nothing is printed ANSWER DOWNLOAD EXAMIANS APP