Puppetting on string | Let us C solution with details description and tutorials | yashwant kanetkar
Chapter: Puppetting on string | Let us C solution with details description and tutorials | yashwant kanetkar S.N Chapter S.N Chapter 1 Decision Control Structure 5 Arrays 2 The Loop Control Structure 6 Puppetting On Strings 3 The Case Control Structure 7 Structures 4 Function and Pointer 8 Input/Output in C [D] Attempt the following: (a) Which is more appropriate for reading in a multi-word string? gets( ) printf( ) scanf( ) puts( ) Show Solutions Hide Solutions Chapter: Puppetting On Strings /* [D] Attempt the following: (a) Which is more appropriate for reading in a multi-word string? gets( ) printf( ) scanf( ) puts( ) */ #include <stdio.h> //header file #include <conio.h> //header file int main() //main function { // Answer: Option A gets() char string[40]; printf("Enter a string:"); gets(string);...
Comments
Post a Comment