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
What is a structural principle?
Is printf a keyword?
What is equivalent to ++i+++j?
Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
Why doesnt this code work?
Explain what is the difference between null and nul?
What does malloc () calloc () realloc () free () do?
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
What math functions are available for integers? For floating point?
What is a good data structure to use for storing lines of text?
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); }
Explain spaghetti programming?
writ a program to compare using strcmp VIVA and viva with its output.
What are the string functions? List some string functions available in c.