c programming 43
Q 1 – What is the output of the following code snippet?
#include<stdio.h> _x000D_ main(){int const a = 5; _x000D_ _x000D_ a++; _x000D_ printf(“%dâ€,a);}
Q 2 – What is the output of the following code snippet?
#include<stdio.h> _x000D_ main(){const int a = 5; _x000D_ _x000D_ a++; _x000D_ printf("%d", a);}
Q 3 – What is the output of the below code snippet?
#include<stdio.h> _x000D_ main(){char s[]="hello", t[]="hello";if(s==t){ printf("eqaul strings");} }