Which built-in library function can be used to match a patter from the string?
No Answer is Posted For this Question
Be the First to Post Answer
How is a structure member accessed?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
i want to know aptitude questions,technical questions
what are the stoge class in C and tel the scope and life time of it?
Explain modulus operator.
void main() { int s[4][2]={ {1234,56},{1212,33},{1434,80},{1312,78} }; int (*p)[2]; int i,j,*pint; for(i=0;i<=3;i++) { p=&s[i]; pint=p; printf("\n"); for(j=0;j<=1;j++) printf("%d",*(pint+j)); } } while running this program it shows a warning-suspicious pointer conversion ie pint=p; my que is why should we assign the value of p to pint again.why cant we use it directly as *(p+j)..but if i use like tat the o/p is garbage value..
Write a program to find the smallest and largest element in a given array in c language
what is inline function?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
Why do we use c for the speed of light?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
main() { unsigned int k = 987 , i = 0; char trans[10]; do { trans[i++] =(char) (k%16 > 9 ? k%16 - 10 + 'a' : '\0' ); } while(k /= 16); printf("%s\n", trans); }