- 
                    Point out error, if any, in the following program main() { int i=1; switch(i) { case 1: printf("nRadioactive cats have 18 half-lives"); break; case 1*2+4: printf("nBottle for rent -inquire within"); break; } }No error. Constant expression like 1*2+4 are acceptable in cases of a switch. 
 
- 
                    
- 
                    Point out the error in the following programmain() 
 {
 const char *fun();
 *fun()='A';
 }
 const char *fun()
 {
 return "Hello";
 }
 
 
 fun() returns to a "const char" pointer which cannot be modified
 
C Interview Questions

 
		
Ans