What are reserved words?



What are reserved words?..

Answer / Shalini Yadav

Reserved words in C are specific words with predefined meanings and roles, which cannot be used as identifiers for variables, functions, or labels. Examples of reserved words include 'int', 'float', 'if', 'else', 'while', 'do', 'for', etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

How many parameters should a function have?

1 Answers  


what is out put of the following code? #include class Base { Base() { cout<<"constructor base"; } ~Base() { cout<<"destructor base"; } } class Derived:public Base { Derived() { cout<<"constructor derived"; } ~Derived() { cout<<"destructor derived"; } } void main() { Base *var=new Derived(); delete var; }

3 Answers   Honeywell,


What is output redirection?

1 Answers  


WHAT IS RTGS N MINIMUM AMT TO B TRANSFERD N WHAT R THE CHARGES ON MINIMUM AMT N IN WHICH BANK WE CAN DO IT?

1 Answers  


52.write a “Hello World” program in “c” without using a semicolon? 53.Give a method to count the number of ones in a 32 bit number? 54.write a program that print itself even if the source file is deleted? 55.Given an unsigned integer, find if the number is power of 2?

25 Answers   Datamatics, Solartis, TCS, ThinkBox, Trine,


void main() { int a=1; while(a++<=1) while(a++<=2); }

4 Answers   HCL,


CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.

9 Answers   Adobe,


Is it cc or c in a letter?

1 Answers  


main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }

1 Answers   Vector, Vector India,


What is void pointers in c?

1 Answers  


How can I do peek and poke in c?

1 Answers  


What is the use of #define preprocessor in c?

1 Answers  


Categories