WHOT IS CHAR?
Answers were Sorted based on User's Feedback
Answer / himaja
n C language, strings are stored in an array of char type along with the null terminating character "\0" at the end. In other words to create a string in C you create an array of chars and set each element in the array to a char value that makes up the string. When sizing the string array you need to add plus one to the actual size of the string to make space for the null terminating character, "\0"
Syntax to declare a string in C:
Sample Code
char fname[4];
| Is This Answer Correct ? | 4 Yes | 2 No |
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
How do you convert strings to numbers in C?
What is difference between function overloading and operator overloading?
If input is 123 then how to print 100 and 20 and 3 seperately?
What is array in c with example?
Why malloc is faster than calloc?
what is c language?
simple program of graphics and thier outpu display with a want what is out put of graohics in c language
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
HOW CAN ADD OUR FUNCTION IN LIBRARY.
Do you know the difference between malloc() and calloc() function?
we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????