Answers for "in c why we use f in printf"

C
0

example of printf() in c

#include <stdio.h>

int addNumbers(int a, int b)
{
    int sum = a + b;
    return sum;
}

int main(void)
{
    int a = 4;
    int b = 7;

    printf(addNumbers(a,b));
    return 0;
}
Posted by: Guest on April-01-2022
0

how to write printf function in c

#include<stdio.h>
void main(){
    printf("My name is MD Fuadul Islam Redoy\n");
    printf("My birthday date is 4 April 2000\n");
    printf("My mobile number = 01621025110\n");
}
Posted by: Guest on February-25-2022

Code answers related to "C"

Browse Popular Code Answers by Language