print a "hello" word without using printf n puts in c language
Answer Posted / prince
write(1, "Hello World", 11);
| Is This Answer Correct ? | 11 Yes | 10 No |
Post New Answer View All Answers
Why is c so powerful?
How do you initialize pointer variables?
how many errors in c explain deply
Is it possible to execute code even after the program exits the main() function?
What is a spanning Tree?
What is the use of pragma in embedded c?
What is sizeof in c?
Should a function contain a return statement if it does not return a value?
How to get string length of given string in c?
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
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); }
Do you know the difference between malloc() and calloc() function?
What is boolean in c?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile