:: C Language Interview Questions ::

Click on >> (Arrow for More Questions) 

  Answer/Explaination : 

Compiler error (in the line arr1 list = {0,1,2,3,4})


(Exp):
arr2 is declared of type array of size 5 of characters. So it can be used to 
declare the variable name of the type arr2. But it is not the case of arr1. 
Hence an error.
Rule of Thumb: 
#defines are used for textual replacement whereas typedefs are used for 
declaring new types.
 
 

Next >>

 
 

Quick Links

| Home | C Language | All India Entrances | Previous Year Papers | Software Projects

| Project Reports | Job Alerts & Notifications | Technical Interview Questions |

| Audio Visual Notes |