
page 1 out of 6
page 1 out of 6
Question 1
#include<stdio.h> int main() { char str[]="C-program"; int a = 5; printf(a >10?"Ps\n":"%s\n", str); return 0; }
Question 2
Question 3
Question 4
Question 5
#include <stdio.h> int main() { printf(“ ‘\0’ ” ); return 0; }
Question 6
#include<stdio.h> int main() { char name[5] = "Theinquisitive"; printf("%s",name); return 0; }
Question 7
#include<stdio.h> int main() { char name[5]; scanf("%s",name); printf("%s",name); return 0; } if we pass the argument as “The Inquisitive”
Question 8
Question 9
Question 10
#include<stdio.h> int main() { char name[50]; scanf("%[^\n]s",name); printf("%s",name); return 0; } if we pass the argument as “The Inquisitive tag line is Knowledge is Boundless \n”
page 1 out of 6
page 1 out of 6
Oops!!
To view the solution need to Login