-
-
-
-
Write a program to find distinct word from a file
Write a program to find distinct word from file,and to check a particular word present or not in each line
-
Sum 0f 2 64 bits using 32 bits
Hi,the question is you have cpu that knows to docomputations on 32 bits(unsigned integer).write a function that find the sum of 2 64 bits numbers using this cpu?there is a struct:typedef struct{ int low;(32 bits) int high;(32 bits)}64bit;
-
strncpy() & memcpy() function in C
what is the difference between strncpy()(not strcpy) & memcpy() function in C?
-
Field Width Specification
What is Field Width Specification?
-
BSS Segment
What is BSS segment? Where it will be?
-
Printf() and printf as a variable
Can printf be used as a variable as well as a procedure?
-
-
Memory Allocation
we say stack is allocated to the local variables ,formal arguments and return addresses of a function for manipulating function calls?but the question arises when does the stack allocation to above things take place?at compile time or run time.And by the way what about automatic memory allocation.what is it?
-
Display different combinations of some letters forming a word
w.a.p in C to input a word. find the total no. of letters forming the word. and using these letters display the total no. of possible combinations without repeating any letter.for example: if string entered is "sunil", the total no. of letters in the word is 5 i.e. s,u,n,i,l.and then displays sunil sunli...
String Concatination
How to concatenate the two string without using the predefined functions (such as strcat and strlen)?
BSS Data Segment
What is a bss data segment?
Reallocating memory
When reallocating memory if any other pointers point into same piece of memory do you have to readjust these pointers or do they get readjusted automatically?
Efficient Sorting Method
If we add a element to the last of a sorted sequence. Then which of the sorting method will be most efficient to sort the new sequence?
Big Endian Little Endian
How will you find if a machine is a big endian or little endian?
Pointer Disadvantages
What are the disadvantages of using pointer in C?
Count Negative Elements
A list of number is given. Make a program which counts the no of negative elements using array inc.
Faster Statement Execute
Which one will execute faster if(flag==0) or if (0==flag) and why?
Ans