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...

which one of follwoing will read a character from keyboard
and store in c
a)c=getc()
b)c=getchar()
c)c=getchar(stdin)
d)getc(&c)
e)none

Answer Posted / shashiprabha singh

c=getchar() is the right ans

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

4214


What is the time and space complexities of merge sort and when is it preferred over quick sort?

1084


Why are all header files not declared in every c program?

1104


how to construct a simulator keeping the logical boolean gates in c

2261


Why dont c comments nest?

1050


What is a string?

1122


what is the format specifier for printing a pointer value?

1023


Write a program to print all permutations of a given string.

1201


Explain modulus operator.

1060


Why is void main used?

1096


Are local variables initialized to zero by default in c?

1053


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

1096


Explain how can you be sure that a program follows the ansi c standard?

1481


What does int main () mean?

1030


Is exit(status) truly equivalent to returning the same status from main?

1077