how can you print&scan anything using just one character? :)

HINT: printf,scanf similer

Answers were Sorted based on User's Feedback



how can you print&scan anything using just one character? :) HINT: printf,scanf similer..

Answer / sivarama ganesan

putc, getc

putc will print only one character. getc will scan on
character from the given input/parameter

Is This Answer Correct ?    15 Yes 3 No

how can you print&scan anything using just one character? :) HINT: printf,scanf similer..

Answer / avinash

getch(),putc()

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

What is typeof in c?

0 Answers  


C passes By value or By reference?

5 Answers   Geometric Software, Infosys,


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

0 Answers   Amazon,


Differentiate between the = symbol and == symbol?

0 Answers  


simple program of graphics and their output display

0 Answers   Elysium,






write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to goviseenu@gmail.com

6 Answers  


18)struct base {int a,b; base(); int virtual function1(); } struct derv1:base{ int b,c,d; derv1() int virtual function1(); } struct derv2 : base {int a,e; } base::base() { a=2;b=3; } derv1::derv1(){ b=5; c=10;d=11;} base::function1() {return(100); } derv1::function1() { return(200); } main() base ba; derv1 d1,d2; printf("%d %d",d1.a,d1.b) o/p is a)a=2;b=3; b)a=3; b=2; c)a=5; b=10; d)none 19) for the above program answer the following q's main() base da; derv1 d1; derv2 d2; printf("%d %d %d",da.function1(),d1.function1(),d2.function1 ()); o/p is a)100,200,200; b)200,100,200; c)200,200,100; d)none 20)struct { int x; int y; }abc; you can not access x by the following 1)abc-->x; 2)abc[0]-->x; abc.x; (abc)-->x; a)1,2,3 b)2&3 c)1&2 d)1,3,4

1 Answers  


void main() { int x=25,y=32; clrscr(); x=x++ + y++; y=++x + ++y; printf("%d%d",x,y); }

5 Answers  


create a C program that displays one z,two y's,three x's until twenty six A's. plzz answer i need it tomorrow.

4 Answers  


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

0 Answers   HCL,


how to print this sereis 2 4 3 6 5..........?

3 Answers  


What are type modifiers in c?

0 Answers  


Categories