C Programs

Write a program to print multiple lines with a single printf.

#include<stdio.h>

void main()
{
// "\n" is use for new line
printf("Name    : Santoki Arpit J.\nAddress : Darshan Institute of Engg. & Tech.\n          Rajkot -          Morbi Highway, At Hadala");
}

Output : 



Post a Comment

0 Comments