Documente Academic
Documente Profesional
Documente Cultură
com
- ---
--- ---
--- ---
--- ---
--- ---
--- ---
-----------------------------------------------------
ECE-2
ECE-DEPARTMENT FIRST SUBJECTIVE EXAM- C&DS
ANSWER ANY THREE FROM THE FOLLOWING
EACH QUESTION CARRIES EQUAL MARKS
DATE- 12-07 TIME-10:00-11:30 MAXMARKS-30
-------------------------------------------------END--------------------------------------------------
Visit us at :http://mritsece.blogspot.com
---------------------------------------------------------------------------------------
ECE-1
ECE-DEPARTMENT FIRST SUBJECTIVE EXAM- C&DS
ANSWER ANY THREE FROM THE FOLLOWING
EACH QUESTION CARRIES EQUAL MARKS
DATE- 12-07 TIME-10:00-11:30 MAXMARKS-30
-------------------------------------------------END--------------------------------------------------
Visit us at :http://mritsece.blogspot.com
______________________________________________________________________
1 .Implement a program to find sum and product of two matrices using functions
2.Define Structure. Explain the array of structures and nested structures. Write a program to illustrate the
3. a) Demonstrate command line arguments using a program copying the contents of one file to another.
4. Explain the different file handling functions. Write a program to read a text from a file and to count
c) If m and n have been declared as integers and p1 and p2 as pointers to integers, then find out the
i) p1=&m;
ii) p2=n;
iii) m=p2-p1;
iv) *p1=&m;
i)int a,*b;
ii)int p,*p;
iii)char *s;
iv)a=(float*)&x