About 1,130,000 results
Open links in new tab
  1. C Input/Output: printf() and scanf() - Programiz

    In this tutorial, you will learn to use scanf() function to take input from the user, and printf() function to display output to the user with the help of examples. Learn to code solving problems and writing code with our hands-on C Programming course.

  2. Output of C Programs | Set 1 - GeeksforGeeks

    Sep 26, 2024 · Predict the output of below C programs. Question 1 C/C++ Code #include<stdio.h> int main() { int a; char *x; x = (char *) &a; a = 512; x[0] = 1; x[1] = 2; printf("%d\n",a); getchar(); return 0; } Answer: The output is dependent on endianness of a machine. Output is 513 in a littl

  3. Basic Input and Output in C - GeeksforGeeks

    Feb 28, 2025 · In C programming, input and output operations refer to reading data from external sources and writing data to external destinations outside the program. C provides a standard set of functions to handle input from the user and output to the screen or to files.

  4. C Input Output - Online Tutorials Library

    C Input Output - Learn about C programming input and output functions, including printf and scanf, to effectively handle data in your applications.

  5. C Programming Examples with Output - Codesansar

    Large collection of c programming examples with output to explain the concept of different c programming topics like decision making, loops, functions, array, structures, user defined function etc.

  6. C Output (Print Text) - W3Schools

    To output values or print text in C, you can use the printf() function: printf ("Hello World!"); When you are working with text, it must be wrapped inside double quotations marks "". If you forget the double quotes, an error occurs: printf ("This sentence will work!"); printf (This sentence will produce an error.);

  7. Output of c program examples - BTech Geeks

    Output of c program examples: An exciting way to learn C Programming Language is by practicing C Examples. The list of 200+ C Programming Examples with Output for Beginners practice sessions is provided by BTech Geeks to enhance your coding skills.

  8. C Programming/Basic Output - Wikiversity

    May 24, 2023 · Learn how to output text to the console. Output is information that the program tells the user. The most basic way to do this is writing text to the console. In the previous lesson, we output text to the console using the following program:

  9. C Input/Output functions - printf(), scanf(), etc. | Studytonight

    Sep 17, 2024 · Input means to provide the program with some data to be used in it. Output means to display data on the screen or write the data to a printer or a file. The C programming provides standard library functions to read any given input and display output on the console.

  10. C Examples - W3Schools

    Code Editor (Try it) With our online code editor, you can edit code and view the result in your browser

Refresh