Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)
2294if a person is buying coconuts of Rs10,and then sell that coconuts of Rs9,with the loss of one rupee.After that the person became a millaniore.how?
9 11699Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }
NDS,
3 8428main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 33709#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }
14 47772fun(int x) { if(x > 0) fun(x/2); printf("%d", x); } above function is called as: fun(10); what will it print? }
NDS,
17 21937#define DCHAR char* typedef char* TCHAR; if using these following variables will be declared like DCHAR ch1, ch2; TCHAR ch3, ch4; then what will be types of ch1, ch2, ch3 and ch4?
NDS,
6 11025
What is meant by inheritance?
Explain is it better to bitshift a value than to multiply by 2?
What is the size of structure pointer in c?
Which is better pointer or array?
Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.
Suggesting that there can be 62 seconds in a minute?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Is the exit() function same as the return statement? Explain.
What are pointers? Why are they used?
What is array in c with example?
What is the use of the function in c?
design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.
what is the format specifier for printing a pointer value?
write a c program to find the sum of five entered numbers using an array named number
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?