Webint main () { char str [20]; printf("Enter Your Name : "); gets(str); printf("Your Name : "); puts(str); return 0; } Output 1: Enter Your Name : Karan Your Name : Karan Output 2: Enter Your Name : Rohit Sharma Your Name : … WebThe code execution begins from the start of the main () function. The printf () is a library function to send formatted output to the screen. The function prints the string inside quotations. To use printf () in our program, we need to include stdio.h header file using the #include statement. The return 0; statement inside the main ...
Programming - Data Output in C (in Hindi) Offered by Unacademy
WebInput / output function 'c' प्रोग्रामिंग में कई इनपुट तथा आउटपुट function का use किया जाता है इन सभी इनपुट आउटपुट function को दो वर्गो में विभाजित किया गया है WebFeb 26, 2015 · thanks for answer but the question is actually says that for input 19/07/14, give this output "Dated this 19th day of July, 2014.", so I should get two integer for the input and by looking the last digit I should give an output as st,nd,rd etc. but in your answer I can't deal with this :/ @ForceBru – list of courses in mass communication
String in C Programming in Hindi - Hindi Me Tutorials
WebApr 6, 2024 · Input: Enter an integer: 25 Output: Entered unsigned integer: 25 Printing -10 using %u: 4294967286 4. Floating-point format specifier – %f in C The %f is the floating point format specifier in C language that can be used inside the formatted string for input and output of float data type. WebMar 16, 2024 · I have the following use case- Input data- User Question Answer A Q1 a A Q2 x A Q2 y A Q2 z B Q1 c B Q2 p B Q2 q B Q2 x Required output- User Q1 Q2_x core.noscript.text This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). WebMay 13, 2024 · How to take input and output of advanced type in C? The advanced type in C includes type like String. In order to input or output the string type, the X in the above … list of courses offered by heart trust nta