Entrance Announcement
MICTE 2080
2080 Magh 07
BICTE ICTED 416 Programming Concept with C 2078: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 35: | Line 35: | ||
What is a pointer? Explain pointer arthematic with example | What is a pointer? Explain pointer arthematic with example | ||
[[Category:OLD is Gold]] | |||
[[Category:ICTED416]] | |||
[[Category:Programming Concept with C]] | |||
[[Category:2078]] | |||
[[Category:BICTE]] |
Latest revision as of 02:15, 27 November 2024
TRIBHUVAN UNIVERSITY
2078
Bachelors/Education /1" Semester
Full Marks: 40
ICTEd 416 Programming Concept with C
Time: 3 hrs.
Candidates are required to give their answers in their own words as for as practicable. The figures in the margin indicate full marks.
Attempt all questions
Group "B" 6X 5 marks 30
1. Write down rules of naming identifiers in C. Discuss unary operators and arithmetic binary operators with example.
OR
What is variable? Explain the different data types used in C.
2. Differentiate between while loop and do while loop. Explain about switch case statement with suitable example
3. What is function? Why is it important? Write a C program by using function to find whether given number is odd or not.
4. What is meant by String? How is it represented in C? Write a C program store age of 10 students in an array and then find and Display average age.
5. What is structure? How can you declare it? How can you use array of structure? Explain with example.
6. Why file handling is important? What are different file opening modes? Write a C program to write your name, roll number, age, sex etc into file student.txt
OR
What is a pointer? Explain pointer arthematic with example