how to print a statement in c without use of console
statement ,with the help of if statement it should print
Answers were Sorted based on User's Feedback
Answer / deepanshu kakkar
#include<stdio.h>
void main()
{
if(printf("deepanshu kakkar"));
}
| Is This Answer Correct ? | 4 Yes | 1 No |
What are header files in c programming?
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?
Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0
I need a sort of an approximate strcmp routine?
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.
a simple program in c language
What is the difference between array and linked list in c?
print 1-50 with two loop & two print Statement
If the size of int data type is two bytes, what is the range of signed int data type?
What are pointers really good for, anyway?
What is the most efficient way to store flag values?
Difference between exit() and _exit() function?