Is both getch() and getchar() functions are similar? if it is
similar means why these two functions are used for same usage?
if it is not similar means what is the difference?
Answer / madhu.s.a
No ,its not same because getch()is used to get the output
screen and getchar() is used to get the single character
input.
I dont know whether it is correct or not.
| Is This Answer Correct ? | 21 Yes | 8 No |
Write a program in C for showing working of different logical operator in C. Your program should guide users with proper message/menu on the console.
What are the uses of pre-processor directives?
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
Write a c program to build a heap method using Pointer to function and pointer to structure ?
0 Answers MAHINDRA, Protech, Sivan Tech,
int array[]={1,2,3,4,5,6,7,8}; #define SIZE (sizeof(array)/sizeof(int)) main() { if(-1<=SIZE) printf("1"); else printf("2"); }
which one is highest Priority in c? a)=,b)+,c)++,d)==
Can one function call another?
write a program to swap bits in a character and return the value prototype of function char fun (char a, charb flag c) where fun returns a char, char a is a the value char b is the bit to be changed and flag c is the bit value for eg: x=fun(45,7,0) since 45 is 0010 0101 and ow x should contain the value 65 (0110 0101)
1 Answers Bosch, College School Exams Tests,
what is C?
What is the use of a semicolon (;) at the end of every program statement?
What does %p mean?
How do you write a program which produces its own source code as its output?