Answer Posted / ragu
#include<stdio.h>
void main(void)
{
int a;
clrscr();
printf("enter a number ");
scanf("%d",&a);
printf("you enter the number %d",a);
getch();
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the return type of sizeof?
What does *p++ do? What does it point to?
Explain what does it mean when a pointer is used in an if statement?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
Tell me when is a void pointer used?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
write an algorithm to display a square matrix.
What is ponter?
How can I use a preprocessorif expression to ?
Why is c called c not d or e?
When can a far pointer be used?
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
Whats s or c mean?
Why do we use null pointer?
How do you define a function?