How can draw a box in cprogram without using graphics.h
header file & using only one printf(); ?
Answer Posted / chandan kumar r
#include<stdioh>
#include<conio.h>
void main()
{
printf("______________\n|______________|\n");
getch();
}
output:
____________________
|____________________|
Is This Answer Correct ? | 37 Yes | 9 No |
Post New Answer View All Answers
What is the main difference between calloc () and malloc ()?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What does c in a circle mean?
Is it possible to initialize a variable at the time it was declared?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is return type in c?
Implement bit Array in C.
Write a Program to accept different goods with the number, price and date of purchase and display them
What is include directive in c?
What are global variables?
What are the different types of C instructions?
Explain pointer. What are function pointers in C?
What are structure types in C?
What is pragma in c?
What is difference between union All statement and Union?