Explain How Terminate & Stay Resident (TSR) and Offline programming differ from one another.
How will you execute a file from another C program through C programming without system command?
printf("%d%d",f1(),f2());What is the sequence of function execution of the above statement. 1. printf, f1(), f2()2. printf, f2(), f1()3. f1(), f2(), printf4. f2(), f1(), printf.
Latest Answer: Let's understand this by going through the following code#includeint f1();int f2();void main() { printf("%dt%d",f1(),f2());}int f1(){ printf("f1() enteredn"); return 4;}int f2(){ printf("f2() ...
Base class has some virtual method and derived class has a method with the same name. If we initialize the base class pointer with derived object, calling of that virtual method will result in which method
Latest Answer: As explained, you have assigned the base class pointer to the derived class object, the derived class method will get called. ...
Write a C programme that read 30 integer numbers into one dimension array then using a function to sort them in desinding order (this function should use another function to exchange any two elements int
Latest Answer: Hi , Let break the question into three parts 1-Read 3o intgers and store them in one dimensional array. 2. Write one function to sort them in descending order.Let ...
Write the implementation of Fix function? fix(2.5) = 2 and fix(-2.25) = -3, this is the expected result. Write the code to implement this behaviour?
Latest Answer: int fix(float f1){ return(floor(f1));} ...
How will you execute shell command without using system command in C-language? Write a program to execute ls -l and redirect the output to a file, without using system command ?
Latest Answer: You can use exec family of system calls to get the job done. Its a nice experience, go ahead and explore it. ...
Why it is not possible to create pointer to unsingned int?
Latest Answer: You can create a pointer to unsigned int. ...
In C if a variable is not assigned a value then why does it take garbage value?
Latest Answer: This happens only in case of local varibales. As memory for local variables are allocated on stack and while allocating the memory the runtime system does not clear the memory before allocating it to the variable unlike in case of allocating memory in ...
What is code/binary portability?
Latest Answer: Code portability is generally defined as C code (in the case of C) that adheres to the rules of the C standards and is Architecture (Pentium, PowerPC, MIPS, etc) as well as Platform (PC, Mac OS, Linux, etc) independent. All you need to do with code ...
View page [1] 2 3 4 5 6 7 8 9 10 Next >>

Go Top