C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } None of these. Hello Some address will be printed H None of these. Hello Some address will be printed H ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? puts() None of these gets() printf() scanf() puts() None of these gets() printf() scanf() ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? void funct(x) { printf(“Hello"); } None of these int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } None of these int funct(); int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } ANSWER DOWNLOAD EXAMIANS APP
C Programming The library function used to find the last occurrence of a character in a string is None of these laststr() strnstr() strstr() strrchr() None of these laststr() strnstr() strstr() strrchr() ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 30 -5 10 15 1 30 -5 10 15 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} None of these complier error examians well done examians None of these complier error examians well done examians ANSWER DOWNLOAD EXAMIANS APP