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
What are preprocessor directives in c?
Is main a keyword in c?
Explain modulus operator.
What is function and its example?
What is calloc in c?
What is string function in c?
Is fortran still used today?
Explain what is wrong in this statement?
What is the difference between constant pointer and constant variable?
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What is the difference between mpi and openmp?
What is function what are the types of function?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What is string concatenation in c?