WHOT IS CHAR?

Answers were Sorted based on User's Feedback



WHOT IS CHAR? ..

Answer / avinash

CHARACTER,NAMES.

Is This Answer Correct ?    11 Yes 1 No

WHOT IS CHAR? ..

Answer / nikam prathmesh

CHAR is Data Type.........

Is This Answer Correct ?    4 Yes 0 No

WHOT IS CHAR? ..

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

WHOT IS CHAR? ..

Answer / ideamahendra

1

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More C Interview Questions

what is difference between array of characters and string

18 Answers   Accenture, Nest,


How do I determine whether a character is numeric, alphabetic, and so on?

0 Answers  


why do we use pointer instead directly acessing the data?

2 Answers  


Explain what is a program flowchart and explain how does it help in writing a program?

0 Answers  


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

0 Answers   Subex,






write a program for egyptian fractions in c?

1 Answers   Satyam,


What should malloc() do?

0 Answers  


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

0 Answers  


What are header files in c programming?

0 Answers  


Can you please explain the scope of static variables?

0 Answers  


How can you find the exact size of a data type in c?

0 Answers  


Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.

3 Answers   Google,


Categories