what is difference between getchar,putchar functions and
printf and scanf function? does putchar show output only
when input given to it
Answer Posted / suji
getchar() gets only one character from the input.putchar
prints that character.printf prints the text that enter
within doublequotes.scanf gets morethan one input from
console.getchar & putchar gets&puts from & to file.
Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
What is the difference between near, far and huge pointers?
Write a program to reverse a given number in c?
Where are some collections of useful code fragments and examples?
What is typedef struct in c?
What is the use of extern in c?
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.
Why is it important to memset a variable, immediately after allocating memory to it ?
What is the importance of c in your views?
What are header files in c programming?
how can use subset in c program and give more example
Explain how can you restore a redirected standard stream?
What is a stream?
What is the use of #include in c?
How do you convert strings to numbers in C?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer