main()
{
int i;
for(i=0;i<5;i++)
printf("%d",1l<<i);
}
why doesn't 'l' affect the code??????
In 1l, 'l' converts number 1 from int to long int.
It is a valid expression
| Is This Answer Correct ? | 2 Yes | 0 No |
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
int far *near * p; means
What is calloc malloc realloc in c?
to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. The packets are named A, B, C, D, E …….. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,………….].
List some of the static data structures in C?
How to implement a packet in C
How do shell structures work?
What is extern c used for?
why return type of main is not necessary in linux
What is extern storage class in c?
Is anything faster than c?
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