Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?



Is both getch() and getchar() functions are similar? if it is similar means why these two function..

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

Post New Answer

More C Interview Questions

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.

3 Answers   HCL,


What are the uses of pre-processor directives?

2 Answers  


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

0 Answers  


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"); }

2 Answers   Vector,


which one is highest Priority in c? a)=,b)+,c)++,d)==

4 Answers  


Can one function call another?

0 Answers  


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?

9 Answers   Syntel,


What is the use of a semicolon (;) at the end of every program statement?

1 Answers  


What does %p mean?

0 Answers  


How do you write a program which produces its own source code as its output?

2 Answers  


Categories