We can draw a box in cprogram by using only one printf();&
without using graphic.h header file?

Answer Posted / chandan kumar r

yes the code is currect

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("\n______________\n|______________|");
getch();
}

output:

______________
|______________|

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c programming structure?

614


What is a pragma?

664


Explain what are global variables and explain how do you declare them?

635


write a progrmm in c language take user interface generate table using for loop?

1571


Write a program to identify if a given binary tree is balanced or not.

680






What is the return type of sizeof?

586


What is the difference between ā€˜gā€™ and ā€œgā€ in C?

2502


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

762


What are the advantages of using linked list for tree construction?

639


Explain about the functions strcat() and strcmp()?

596


please explain every phase in the "SDLC" in the dotnet.

2175


What is a void pointer? When is a void pointer used?

618


The difference between printf and fprintf is ?

714


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2051


What is function in c with example?

625