What is the difference between void main() and void main (void) give example programme?
No Answer is Posted For this Question
Be the First to Post Answer
Differentiate between the expression “++a” and “a++”?
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.
What is the difference between if else and switchstatement
Find if a number is power of two or not?
What is c preprocessor mean?
Write a program that can show the multiplication table.
1)what is the error in the following stmt where str is a char array and the stmt is supposed to traverse through the whole character string str? for(i=0;str[i];i++) a)There is no error. b)There shud be no ; after the stmt. c)The cond shud be str[i]!='\0' d)The cond shud be str[i]!=NULL e)i shud be initialized to 1
Why double pointer is used in c?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
input any 4 digit number and find the difference of all the digits?
write function to reverse char array ... without using second array
Without using main fn and semicolon,print remainder for a given number in C language