How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ?
Answer Posted / veeramalliga
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n----------------\n");
printf("\n| |\n");
printf("\n| |\n");
printf("\n-----------------\n");
getch();
}
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
Is multithreading possible in c?
Write a program to print fibonacci series without using recursion?
What is && in c programming?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
What is the difference between array and pointer?
What are the header files used in c language?
What does 4d mean in c?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Why calloc is better than malloc?
What are the different types of constants?
What is the sizeof () a pointer?
Explain what does the format %10.2 mean when included in a printf statement?
How many parameters should a function have?
Define macros.
Is sizeof a keyword in c?