#include <stdio.h>
int main()
{
if ("X" <"x")
printf("X smaller than x
");
}
my question is whats the mistake in this program? find it and please tell me..
Answer Posted / preethi
#include <stdio.h>
void main()
{
int X,x;
if (X <x)
printf("X smaller than x");
}
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How do I convert a string to all upper or lower case?
Is c object oriented?
Is file a keyword in c?
What are preprocessor directives in c?
Explain how can you restore a redirected standard stream?
What does stand for?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
Can you subtract pointers from each other? Why would you?
Write a program which returns the first non repetitive character in the string?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Write a program to generate random numbers in c?
How can I read/write structures from/to data files?
How can I find the modification date of a file?
Is python a c language?
What are the loops in c?