Quiz-2 of c programming language
Q 1 – What is the output of the following program? #include<stdio.h> main() { char s[] = “Fine”; *s = ‘N’; printf(“%s”, s); } A – Fine B – Nine C – Compile error D – Runtime error...
Q 1 – What is the output of the following program? #include<stdio.h> main() { char s[] = “Fine”; *s = ‘N’; printf(“%s”, s); } A – Fine B – Nine C – Compile error D – Runtime error...
Quiz of c programming language Q 1 – What is the output of the following program? #include<stdio.h>main(){char*s =”Hello”;while(*s!=NULL)printf(“%c”,*s++);} A – Hello B – Helloellolloloo C – ello D – Compile error Q 2 – What is the size of ‘int’?...