SRUCTURE PROGRAMMING
Answers were Sorted based on User's Feedback
Answer / ms kumar
In c the program will divided into different functions.it
useful whenever u need to update a particular part .
| Is This Answer Correct ? | 22 Yes | 1 No |
Answer / hemanthkumar
in c language the way of code writing is mandatory
u must write the program in a specific way
ex;
#include<stdio.h>
main()
{
//declarations
//functions
}
| Is This Answer Correct ? | 14 Yes | 1 No |
Answer / anil kumar
Structure Programing means that type of language which is
based on structure it means all codding is done under main
function and when we want to change the functionality of
that programme then we have to change all functionality of
program.ex of it is c,COBOL etc
| Is This Answer Correct ? | 8 Yes | 2 No |
Linked lists -- can you tell me how to check whether a linked list is circular?
helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What are the advantages and disadvantages of pointers?
why you will give me a job in TCS.
Combinations of fibanocci prime series
What is output redirection?
What will be printed as the result of the operation below: #include<..> int x; int modifyvalue() { return(x+=10); } int changevalue(int x) { return(x+=1); } void main() { int x=10; x++; changevalue(x); x++; modifyvalue(); printf("First output:%d\n",x); x++; changevalue(x); printf("Second output:%d\n",x); modifyvalue(); printf("Third output:%d\n",x); }
18)struct base {int a,b; base(); int virtual function1(); } struct derv1:base{ int b,c,d; derv1() int virtual function1(); } struct derv2 : base {int a,e; } base::base() { a=2;b=3; } derv1::derv1(){ b=5; c=10;d=11;} base::function1() {return(100); } derv1::function1() { return(200); } main() base ba; derv1 d1,d2; printf("%d %d",d1.a,d1.b) o/p is a)a=2;b=3; b)a=3; b=2; c)a=5; b=10; d)none 19) for the above program answer the following q's main() base da; derv1 d1; derv2 d2; printf("%d %d %d",da.function1(),d1.function1(),d2.function1 ()); o/p is a)100,200,200; b)200,100,200; c)200,200,100; d)none 20)struct { int x; int y; }abc; you can not access x by the following 1)abc-->x; 2)abc[0]-->x; abc.x; (abc)-->x; a)1,2,3 b)2&3 c)1&2 d)1,3,4
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
write a program to find the number of even integers and odd integers in a given array in c language
13 Answers IAI Cameroun, NIIT, Olive Tech, QIS,
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,