C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 6 5 Compiler Error 7 0 6 5 Compiler Error 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Execution During linking During Editing None of these During Preprocessing During Execution During linking During Editing None of these During Preprocessing ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. We cannot change the value pointed by ptr. Both of the above ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} Veda Exam None of these Exam Veda Exam\0Veda Veda Exam None of these Exam Veda Exam\0Veda 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);} None of these 1 1 2 2 1 1 2 3 0 1 2 2 0 1 2 3 None of these 1 1 2 2 1 1 2 3 0 1 2 2 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values Error 1 1 1 0 0 0 garbage values Error 1 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP