A Little about the blog.....

This blog contains all the interview questions that i face during my interviews with various MNC's. I am trying to post the solutions for almost all the questions and i have covered few important topics which would be frequent topics in interviews. I hope the blog would be useful not only for the job aspirants but also to the one who tries to upgrade his/her knowledge in C and Embedded concepts......

please enter your mail address in the above mail address box to get the immediate updates of the new interview questions.....

Wednesday, November 16, 2011

print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!

#include"stdio.h"
#include"conio.h"
int x=59; // ascii value for semicolon
void main()
{
int x;
clrscr();
printf("enter the ascii value");
scanf("%d",&x);
printf("the charcter for ascii value %d: is %c",x,x);
getch();
}

No comments:

Post a Comment