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


Please Help Members By Posting Answers For Below Questions

Why is c still so popular?

620


what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above

682


How can I implement sets or arrays of bits?

609


Explain two-dimensional array.

633


How can I find out the size of a file, prior to reading it in?

628






#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

723


What is #include stdio h?

689


Using which language Test cases are added in .ptu file of RTRT unit testing???

3605


Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.

2659


What is difference between class and structure?

575


What is the difference between far and near ?

691


what is the syallabus of computer science students in group- 1?

1846


What is fflush() function?

649


What are multidimensional arrays?

659


Can you please explain the difference between malloc() and calloc() function?

623