Answer Posted / ss
answer can be 2 and 1 as well
actually it is compiler dependent
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is a example of a variable?
Write a program to print “hello world” without using semicolon?
What are the application of void data type in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What are local static variables? How can you use them?
Explain how can you restore a redirected standard stream?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
What are 'near' and 'far' pointers?
Write a program to identify if a given binary tree is balanced or not.
explain what is an endless loop?
Can we compile a program without main() function?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
What is sorting in c plus plus?
Write a program to use switch statement.
Tell me about low level programming languages.