What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
i want explaination about the program and its stack reprasetaion fibbo(int n) { if(n==1 or n==0) return n; else return fibbo(n-1)+fibbo(n-2); } main() { fibbo(6); }
Write a programme to find even numbers without using any conditional statement?
3 Answers ADD Software, Infosys,
What oops means?
char p="data"; printf(p);
How to declare a variable?
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?
Explain what is the difference between a free-standing and a hosted environment?
main() { int a,b; printf("%d,%d",scanf("%d%d",&a,&b)); } => do u mean above program's output... =>output will be:2,whatever you enter value for b. =>because scanf is a library fn which will return how many arguements it processes, and second value you are right mr.Satya but i found my self unable to understand that for the first time scanf returns the no of successful matches but how for the second time it returns the value of 'b'.while a function should return the same 'r' value every time.
how to write a c program to print list of fruits in alpabetical order?
program to find which character is occured more times in a string and how many times it has occured? for example in the sentence "i love india" the output should be i & 3.
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
C program to find all possible outcomes of a dice?