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
Simplify the program segment if X = B then C ← true else C ← false
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 are the types of type qualifiers in c?
How do you list a file’s date and time?
What is #include cctype?
How can I open files mentioned on the command line, and parse option flags?
Explain how do you sort filenames in a directory?
Explain the meaning of keyword 'extern' in a function declaration.
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Is return a keyword in c?
What is switch in c?
Is register a keyword in c?
Calculate 1*2*3*____*n using recursive function??
Explain what are bus errors, memory faults, and core dumps?
What are run-time errors?