Answer Posted / valli
char a[50];
use scanf(" %[^\n]",a);
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Explain can the sizeof operator be used to tell the size of an array passed to a function?
Why c is a procedural language?
Who invented b language?
Can we access array using pointer in c language?
Explain enumerated types in c language?
What is the difference between c &c++?
What are the types of macro formats?
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
Can 'this' pointer by used in the constructor?
What does return 1 means in c?
What are header files in c?
How do I swap bytes?
What is the use of printf() and scanf() functions?
how to find anagram without using string functions using only loops in c programming
Can you please explain the difference between syntax vs logical error?