C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 4 10 5 3 4 10 5 4 3 10 5 3 3 10 5 5 5 10 5 4 4 10 5 3 4 10 5 4 3 10 5 3 3 10 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam_veda Examians None of these Both A and B Exam veda Exam_veda Examians None of these Both A and B Exam veda 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 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value None of These 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value None of These 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\0Veda Exam None of these Veda Exam Veda Exam\0Veda Exam None of these Veda Exam Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 7 6 5 8 9 7 6 5 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} 1 None of These 10 Garbage Value 1 None of These 10 Garbage Value ANSWER DOWNLOAD EXAMIANS APP