#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 / raisa
character X and x should always be enclosed in single quotes
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is union in c?
Write a program to print fibonacci series using recursion?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is switch in c?
What is boolean in c?
In c programming language, how many parameters can be passed to a function ?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
write a c program in such a way that if we enter the today date the output should be next day's date.
What does sizeof return c?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Explain why C language is procedural?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is a string?