char ch=10;printf("%d",ch);what is the output
Answer Posted / rogerthatrambo
although i know the answer:
what should be output of this:
do it without running.
int main()
{
char ch='48';
printf("%d %c",ch,ch);
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is #define used for in c?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }
Does c have function or method?
Are there constructors in c?
Why is structure important for a child?
Explain main function in c?
What are operators in c?
Difference between MAC vs. IP Addressing
What is the difference between malloc() and calloc() function in c language?
I need a sort of an approximate strcmp routine?
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); } }
What is the best way to comment out a section of code that contains comments?
Explain what happens if you free a pointer twice?
Whats s or c mean?
Is void a keyword in c?