main()
{
int l=6;
switch(l)
{
default:l=l+2;
case 4:l=4;
case 5:l++;
break;
}
printf("%d",l);
}
What does c in a circle mean?
What are the difference between a free-standing and a hosted environment?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
tell me the full form of c?
I have a varargs function which accepts a float parameter?
wat are the two methods for swapping two numbers without using temp variable??
Write a program to find the number of times that a given word(i.e. a short string) occurs in a sentence (i.e. a long string!). Read data from standard input. The first line is a single word, which is followed by general text on the second line. Read both up to a newline character, and insert a terminating null before processing. Typical output should be: The word is "the". The sentence is "the cat sat on the mat". The word occurs 2 times.
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it?
What is declaration and definition in c?
What compilation do?
7 Answers Geometric Software, Infosys,
Why is void main used?
Is c object oriented?