TutorialsBazaar

← Back

Learn C Programming

Module 5/15

Input & Output

Module 5 of 15

C uses printf() for output and scanf() for input. These functions are defined in stdio.h. Format specifiers like %d, %f, %c are used to display values.

C में printf() का उपयोग output के लिए और scanf() का input के लिए होता है। ये functions stdio.h में होते हैं। %d, %f जैसे format specifiers का उपयोग किया जाता है।

#include <stdio.h>

int main() {
    printf("Welcome to Input & Output");
    return 0;
}