C Programming Who is father of C Language? Gosling Dr. Dennis Ritchie Bjarne Stroustrup James F. Codd Gosling Dr. Dennis Ritchie Bjarne Stroustrup James F. Codd ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 1 1 2 2 1 1 2 3 0 1 2 2 None of these 0 1 2 3 1 1 2 2 1 1 2 3 0 1 2 2 None of these 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is right way to Initialize array? int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[6] = { 2, 4, 12, 5, 45, 5 }; int n{} = { 2, 4, 12, 5, 45, 5 }; int n{6} = { 2, 4, 12 }; int n(6) = { 2, 4, 12, 5, 45, 5 }; int num[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:#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 10 Compiler Error 50 None of These 10 Compiler Error 50 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 );} Prints the value of 0 one time only. There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Exam None of these Exam Veda Exam\0Veda Veda Exam None of these Exam Veda Exam\0Veda Veda ANSWER DOWNLOAD EXAMIANS APP