Wrong answer, in C "A variable, the value of which remains constant through out the program" is 'const' not the static. Static variable is variable that is initialized once and if you want you can change it's value in your program. Static variable can have different scopes e.g. class scope, function scope, file scope etc.. One more point, static variable can be accessed in it's scope only, but they are in memory till program exit.
In `C`, malloc ( ) function returns a pointer to
It returns pointers to void. and it needs to be typecasted into the required type. If I am incorrect kindly correct my answer.
Key is wrong character constant means char sample='a'; a is a character constant that is enclosed inside a single quote. Option c only holds true.Because character constant can be enclosed within double quotes