|
Post by loyalgurl on Oct 21, 2005 4:20:22 GMT 5.5
hi all I might be sounding rather stupid but I do need help with this...Please help me
I am not able to understand this thing : can we use pointers to store a string input by the user using scanf?How do we do that?
I mean, let me declare a pointer of the type character
char *s1; printf("\nEnter your first name : ");
After this how do I use the scanf function to input this value using s1 and then print this out again using s1?
Thanks a lot for help
|
|
|
Post by loyalgurl on Oct 21, 2005 4:38:19 GMT 5.5
hi all thanx I got the concept of this...... I may get stuck with some other concept of pointers..so will get bak to u soon..... be prepared to help me o.k...... thanx a lot neways take care bye for now
|
|
|
Post by Saurabh Jain on Oct 22, 2005 20:54:07 GMT 5.5
Thats very good loyalgurl after asking questions we should not wait for answers we should try and wow look u got it keep trying ull get chalo byeee
|
|