-
Find the factorial of given positive integer.
Consider the following code for finding the factorial of given positive integer IFACT=1 DO 100 I=2,N,2 100 IFACT = IFACT*i*(i-1) For which value of N, the above FORTRAN code will not work ? 1. N is even 2. N is odd 3. N is perfect number 4. N mod 3 =0
-
-
-
-
-
-
-
-
-
-
-
-
-
What is the procedure in memory after running the c program ?
I mean generally after execution of c program .c,.doc,.exe,.bak files are created,so how these files are allocated in the memory stack?
-
-
-
-
C logic help
In this x is the input and F(X) is the output,tab_func(sin, 0.0, PI, PI/8.0) is the method i have to use to get a output.Plz give me the relation b/w x and F(x).A function which will tabulate values of any given function from a given startingvalue up to (and including) a given final value. The size of the each step from thestarting value to the final value should also be a parameter of the function.For...
-
Object creation
How can we stop the user make an object on stack, i.e. user must be able to create the object on heap only.
-
Read data in mdb file
How to access and read data in mdb file from C?
C Interview Questions
Ans