What is the use of #include in c?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none

2 Answers   Oracle,


#define d 10+10 main() { printf("%d",d*d); }

6 Answers  


Does * p ++ increment p or what it points to?

0 Answers  


I use turbo C which allocates 2 bytes for integers and 4 bytes for long. I tried to declare array of size 500000 of long type using the following code... long *arr; arr=(long *)(malloc)(500000 * sizeof(long)); It gives a warning that "Conversion may lose significant digits in function main"... And the resulting array size was very less around 8400 as compared to 500000. Any suggestions will be welcomed....

2 Answers  


Define VARIABLE?

0 Answers   ADP,






a=0; while(a<5) printf("%d\n",a++); how many times does the loop occurs? a.infinite b.5 c.4 d.6

7 Answers   TCS,


What is meant by high-order and low-order bytes?

0 Answers  


Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant

0 Answers  


When should a far pointer be used?

0 Answers   Aspire, Infogain,


What are the uses of null pointers?

0 Answers  


When the macros gets expanded?

0 Answers  


What is the difference between call by value and call by reference in c?

0 Answers  


Categories