A global variable when referred to in another file is declared as this
a) local variable
b) external variable
c) constant
d) pointers
No Answer is Posted For this Question
Be the First to Post Answer
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
what is the purpose of the following code, and is there any problem with the code? void fn(long* p1, long* p2) { register int x = *p1; register int y = *p2; x ^= y; y ^= x; x ^= y; *p1 = x; *p2 = y; }
Write a c program to build a heap method using Pointer to function and pointer to structure ?
0 Answers MAHINDRA, Protech, Sivan Tech,
Write the following function in C. 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.
3 Answers Google, Infosys, JTL, OpenFeel,
Is there any demerits of using pointer?
Is it better to bitshift a value than to multiply by 2?
main() { clrscr(); } clrscr();
how to find out the inorder successor of a node in a tree??
What are the loops in c?
Tell me what is null pointer in c?
What is #line?
List the different types of c tokens?