Find the O/p of the following
1)
#include
int main()
{
char c='1';
int j=atoi(c);
}
Answer Posted / arka sen
it will give the ASCII Value of char C.
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
What is 1f in c?
What is f'n in math?
What is a char in c?
What is wrong with this statement? Myname = 'robin';
How can you be sure that a program follows the ANSI C standard?
What is meant by operator precedence?
What are categories used for in c?
Can you apply link and association interchangeably?
Explain about block scope in c?
What is a program flowchart and explain how does it help in writing a program?
How can a program be made to print the name of a source file where an error occurs?
What is echo in c programming?
What is the advantage of an array over individual variables?
When do we get logical errors?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }