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 |
Can I pass constant values to functions which accept structure arguments?
What is the use of a conditional inclusion statement in C?
write a program to remove duplicate from an ordered char array? in c
#include <stdio.h> int main ( int argc, char* argv [ ] ) { int value1 = 10; int value2 = 5; printf ( "\n The sum is :%d", value1 | value2 ); } This is the answer asked by some one to add two numbers with out using arithmetic operator?Yes this answer is write it given out put as 15.But how????? what is need of following line? int main ( int argc, char* argv [ ] ) how it work?what is the meaning for this line? please explain me.Advance thanks
is c language is a object oreinted language?
write a program in c language for the multiplication of two matrices using pointers?
What is oops c?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
How can I ensure that integer arithmetic doesnt overflow?
What does c mean before a date?
write a programe to find the factorial of given number using recursion
How to find a missed value, if you want to store 100 values in a 99 sized array?