What is true about the following
C Functions
a.Need not return any value
b.Should always return an integer
c.Should always return a float
d.Should always return more than one value.
Answers were Sorted based on User's Feedback
What is an auto keyword in c?
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }
What is C language Terminator?
main() { int ptr[] = {1,2,23,6,5,6}; printf("%d",&ptr[3]-&ptr[0]); }
What are the concepts introduced in OOPs?
write a program to reverse the words in the sentence.NOTE:not reverse the entire string but just the occurance of each word
What is function prototype?
what is ans for this scanf(%%d",c);
enum DAY { sunday, monday, tuesday }; enum EDAYS { friday, saturday, sunday }; void main() { int i =0; if( i == sunday) { printf("%d",i); } } what would be the output?
What is a lvalue
Why do we use & in c?
25. It takes five minutes to pass a rumour from one person to two other persons. The tree of rumour continues. Find how many minutes does it take spread the rumour to 768 persons. ?
11 Answers CTS, TCS,