Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 Is there any difference between the two statements?
char ch = "IndiaBIX";
char ch[] = "IndiaBIX"; ?->(Show Answer!)
1. Is there any difference between the two statements?
char ch = "IndiaBIX";
char ch[] = "IndiaBIX";
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.02 pm
In first statement the character pointer ch stores the address of the string "IndiaBIX".
The second statement specifies the space for 7 characters be allocated and that the name of location is ch.
The second statement specifies the space for 7 characters be allocated and that the name of location is ch.