character array A[12] can hold
Answers were Sorted based on User's Feedback
Answer / naresh lingampally
What is this null string;
array addresses would be a[0]..a[11] if i am not wrong ...
so a[11] accepts(can store) up to 11 character elements
so can any one explain.....
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / manish malik
It will hold the character A[0}....A[11.and hold the null
character at a[12] position.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / hardeep singh
this question is wrong. array name should be in small
letter.because c and c++ are case senstive.
Is This Answer Correct ? | 0 Yes | 8 No |
Differentiate between a for loop and a while loop? What are it uses?
What is variable in c with example?
Why is the code below functioning. According to me it MUST NOT.
what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it
Is c procedural or object oriented?
What is signed and unsigned?
Describe the steps to insert data into a singly linked list.
How can I find out how much free space is available on disk?
Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??
what is used instead of pointers in java than c?
write a program without using main function?
Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0