Latest Answer: Dangling pointer is a pointer which is pointing to the destroyed object or which does not have proper address. A pointer should be intialized to zero once it is freed after allocating memory to that pointer. Ex: main() { ...
Latest Answer: There is no need of declaring the function main() as it is already known to compiler .main() is a function from where the execution starts. ...
Latest Answer: hi bupendra,String is immutable object which means the contents in the string object cannot be modified. Stringbuffer object contents can be modified. ...
Latest Answer: C language does support NESTED funKshunsvoid adds(void){ printf("Inside adds....n"); void sbbs(void) { printf("Inside sbbs.....n"); } printf("Outside adds...n"); sbbs();//here it worx} int main(void){ adds(); ...
Latest Answer: No ,its not possible to have a dynamic array without using calloc,malloc or without ptr.... Why u want to know abt it? but u can achieve a array without specifying size say arr[]; but its not efficient as when u use this array..more space will ...
Latest Answer: In c every function by default returns an integer value. By using void we mean a value zero is return to the environment i.e., operating system. ...
Char str[]="DOLLAR";Here , you have the base address of array i.e. str.By using only one pointer variable, you have to replace the occurrence of 'L' with '$$'. (after replacement, it should be DO$$$$AR)can any body suggest efficient method?
Q1 How to swap Low-order byte and high order byte in an integer without using temporary variable ?Q2 write a program to print numbers from 1 to 100 without using any condition checking ?Q3 If we develop a project in C,then how can we create an .exe file of it?Q4 Write a program which accepts a filename as a command like argument and reverse the contents of the file (i.e firs character becomesthe last character of the file and so on)input: the program takes the file name whose content should be
Q1. write a program to find a given number is armstrong number or not ?Q2write a program which accepts a filename as a command line argument and reverse the contents of the file(i.e first character becomes the last character of the file and so on ?Q3 how can i call a function given its name as a string ?Q4 How to swap low-order byte and high order byte in an integer without using temporary variable?Q5 If we develop a project in C, then how can we create an .exe file of it?Q6 how to print 1 to 100
please let me know the answers to my email address as i having the interview in TCS so please please please please let me know
View page << Previous 5 6 7 8 [9] 10 Next >>

Go Top