print a "hello" word without using printf n puts in c language

Answer Posted / smith

#include<stdio.h>
#include<string.h>
void main()
{
printf("hello");
puts("hello");
}

Is This Answer Correct ?    3 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a structural principle?

835


Is printf a keyword?

966


What is equivalent to ++i+++j?

852


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

801


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1712


Why doesnt this code work?

811


Explain what is the difference between null and nul?

883


What does malloc () calloc () realloc () free () do?

778


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

811


What math functions are available for integers? For floating point?

855


What is a good data structure to use for storing lines of text?

829


main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }

1148


Explain spaghetti programming?

951


writ a program to compare using strcmp VIVA and viva with its output.

1770


What are the string functions? List some string functions available in c.

803