Saturday, May 22, 2010

What is a literal in C?Is it a)Stringb)String Constantc)Character d)Alphabet?

A literal is any piece of program whose value is apparant (obvious) from just reading it.


Such as an int, char, string, double literals:


soo an int literal would be 7


a char would be C


a double would be 7.6


a string would be "HIYA!"


Hope this helps! :)

What is a literal in C?Is it a)Stringb)String Constantc)Character d)Alphabet?
The answer is........ character ( i think)


No comments:

Post a Comment