C PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING ITS
LENGTH .
22
1.What is a Data Structure? Explain its need?
2.What is a Directed Graph? Write an algorithm to find
whether a Directed Graph is connected or not?
3.Explain the process of converting a Tree to a Binary Tree.
What is floating point exception error? And what are
different types of errors occur during compile time and run
time? why they occur?
98
what are advantages of U D F?
117
what does #include mean?
4
hi friends how r u as soon in satyam my interview is start
but i m very confusued ta wat i do plz help me frndz wat
can i do plz tell me some question and answers related
with "C" which r asked in the interview .
the factorial of non-negative integer n is written n! and
is defined as follows:
n!=n*(n-1)*(n-2)........1(for values of n greater than or
equal to 1 and
n!=1(for n=0)
Perform the following
1.write a c program that reads a non-negative integer and
computes and prints its factorial.
2. write a C program that estimates the value of the
mathematical constant e by using the formula:
e=1+1/!+1/2!+1/3!+....
3. write a c program the computes the value ex by using the
formula
ex=1+x/1!+xsquare/2!+xcube/3!+....
Write a C Program to display the following menu:
Menu
1. Display
2. Copy
3. Append
4. Exit
Accept the choice (1-4) from the user, and perform the
following tasks:
Choice 1: Accept a file name from the user and display the
file on screen
Choice 2: Accept two file names, and copy first file to the
second
Choice 3: Accept two file names, and append second file to
the first file
Choice 4: Terminate the program
i have to apply for rbi before that i need to know the the
syllabus for the entrance questions. whethet it may be aps
or techinical
24
where can function pointers be used?
2
what is a void pointer?
11
how do you write a function that takes a variable number of
arguments? What is the prototype of printf () function?
11
Write a program which has the following seven functions.
The functions should be:
main() this calls the other 6 functions
fget_long() a function which returns a long data
type from a file
fget_short() a function which returns a short
integer variable from a file
fget_float() a function which returns a floating
point variable from a file
fprt_long() a function which prints its single,
long argument into a file
fprt_short() a function which prints its single,
short argument into a file
fprt_float() a function which prints its single,
floating point argument into a file.
You should use fscanf() to get the values of the variables
from the input (the file) and fprintf() to print the values
to the other file. Pay attention to using the correct
format for each of the data types.