Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@pensu-8tNeGU • Dec 8, 2010
I didnt get your question completely, but if you want to scan a word using scanf then you can use a loop like:
for(i=0;i<length;i++) scanf("%c",&c[i]); -
@hirenbarbhaya-04r651 • Dec 9, 2010
you can use scanf with '%s' option.. it would read the string (no white space) -
@gauravbhorkar-Pf9kZD • Dec 9, 2010
A multi-character word will always be a string.vipandeepI dont wanna go in strings