When do you not use the keyword 'return' when defining a function
a) Always
b) Never
c) When the function returns void
d) dfd
No Answer is Posted For this Question
Be the First to Post Answer
What is difference between far and near pointers?
Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0
what is the difference between. system call and library function?
How do I use void main?
What is pointer in c?
What are the types of variables in c?
Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.
2 Answers Scientific Atlanta, Wipro,
explain about storage of union elements.
O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N
What is the function of volatile in c language?
What is indirection? How many levels of pointers can you have?
a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21