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 |
WHAT IS MEANT BY LIFE?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
44.what is the difference between strcpy() and memcpy() function? 45.what is output of the following statetment? 46.Printf(“%x”, -1<<4); ? 47.will the program compile? int i; scanf(“%d”,i); printf(“%d”,i); 48.write a string copy function routine? 49.swap two integer variables without using a third temporary variable? 50.how do you redirect stdout value from a program to a file? 51.write a program that finds the factorial of a number using recursion?
a=0; b=(a=0)?2:3; a) What will be the value of b? why b) If in 1st stmt a=0 is replaced by -1, b=? c) If in second stmt a=0 is replaced by -1, b=?
what is the output of the following program? main() { int c[]={2,8,3,4,4,6,7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf("%d",*c); ++q; } for(j=0;j<5;j++) { printf("%d",*p); ++p; } }
write an algorithm and a program to count the number of elements in a circularly singly linked list
a simple program in c language
what are you see during placement time in the student.
0 Answers Goldman Sachs, TCS, Tech Solutions,
What is the use of ?: Operator?
write a c programme for add of two numbers with out use of arthematic operators
Is it better to bitshift a value than to multiply by 2?
Is the following code legal? struct a { int x; struct a b; }