C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} None of These Error %d\n 300 None of These Error %d\n 300 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is used to find the first occurrence of a given string in another string? None of these strchr() strrchr() strstr() strnset() None of these strchr() strrchr() strstr() strnset() ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} hai haasi asiha absiha hai haasi asiha absiha ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#includevoid main(){ int i = 10; void *p = &i; printf("%d\n", (int)*p);} Compiler time error Undefined behavior 10 Segmentation fault/runtime crash Compiler time error Undefined behavior 10 Segmentation fault/runtime crash ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 1 2 2 2 2 1 1 1 1 2 2 2 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 16 4 None of These 64 16 4 None of These 64 ANSWER DOWNLOAD EXAMIANS APP