print a "hello" word without using printf n puts in c language
Answer Posted / taz
ch[6]={'h','e','l','l','o','\0'};
i=0;
do
{
putchar(ch[i]);
i++;
}while(ch[i]!=NULL)
Is This Answer Correct ? | 5 Yes | 8 No |
Post New Answer View All Answers
What are the different types of control structures?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What is a stream water?
Explain what is #line used for?
What is int main () in c?
What are run-time errors?
What are examples of structures?
Explain the use of 'auto' keyword in c programming?
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
Can we assign string to char pointer?
What is a void pointer in c?
Explain what standard functions are available to manipulate strings?
Why is c so important?
What is a #include preprocessor?
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?