Differentiate between a structure and a union.
No Answer is Posted For this Question
Be the First to Post Answer
#define f(x) main() { printf("\n%d",f(2+2)); }
program that accepts amount in figures and print that in words
2 Answers Infosys, Lovely Professional University, Wipro,
how can we print hellow world programme without using semicolon
why 'c' is called middle level language.
which header file contains main() function in c?
17 Answers Google, HCL, TCS,
what will be the result of the following program ? char *gxxx() { static char xxx[1024]; return xxx; } main() { char *g="string"; strcpy(gxxx(),g); g = gxxx(); strcpy(g,"oldstring"); printf("The string is : %s",gxxx()); } a) The string is : string b) The string is :Oldstring c) Run time error/Core dump d) Syntax error during compilation e) None of these
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100
What is the difference between a string and an array?
write a program that print itself even if the source file is deleted?
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
What is scanf_s in c?
a<<1 is equivalent to a) multiplying by 2 b) dividing by 2 c) adding 2 d)none of the above