:: C Language Interview Questions ::

Click on >> (Arrow for More Questions) 

  Answer/Explaination : 

2 5 5


(Exp):
In first sizeof, str1 is a character pointer so it gives you the size of the 
pointer variable. In second sizeof the name str2 indicates the name of the 
array whose size is 5 (including the '\0' termination character). The third 
sizeof is similar to the second one.
 
 

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 |