shorting algorithmS
No Answer is Posted For this Question
Be the First to Post Answer
How can I write functions that take a variable number of arguments?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
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.
1. What will be the output of the following programs. a) #include <stdio.h> Main() { Int x=4; While(x==1) { X=x-1; Printf(ā%dā,x); --x; } }
what will happen if you free a pointer twice after allocating memory dynamically ?
Are the outer parentheses in return statements really optional?
What is a built-in function in C?
Who had beaten up hooligan "CHAKULI" in his early college days?
Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)
which will return integer? a) int*s ( ) b) ( int* ) s( ) c) int ( *s ) ( )
Write a C program to find the smallest of three integers, without using any of the comparision operators.
What is the difference between constant pointer and pointer to a constant. Give examples.