C programming question set no. 2, C programming question, function , loops question, array questions
C programming question set no. 2, C programming question, function , loops question, array questions
1) Input a number less than 5 and print “Hello World” five times if the condition is true. Operate it using while , do – while and for loop in same program and mention the syntax used.
2) Input a matrix in 3-D array and check if it is identity matrix or not.
3) Input a matrix in 3-D array and calculate the sum of its diagonal.
4) Input two matrix in 3-D array and multiply and store in another array.
5) Define a Function array() which takes input in array and a function sum() which calculate the sum of the same array. Call the function in main() in a loop of five times.
6)
input() – input subject marks
sum() – sum of subjects
percentage() – calculate percentage
7) Overload a function add() with different arguments.
Topics Covered :
- programming questions in interview
- amazon programming interview question
- google programming interview question
- programming interview questions and answers
- google interview question
- amazon coding interview questions
- coding interview questions java
- beginner interview questions
- amazon coding interview question
- google coding interview question
- google programming interview problem
- microsoft coding interview question
- facebook coding interview questions
Thanks for reading this blog. Hope you get satisfied with the blog and definitely this blog must have valued your time and effort of reading.
Take a time to connect our other digital creations such as Instagram , Facebook and Youtube.
Social Media Links of Tech DCode :
YouTube : https://www.youtube.com/channel/UCjJnEdeugftBwQ3yMuD4B_A
Instagram : https://www.instagram.com/thetechdcode/
Facebook Page : https://www.facebook.com/thetechdcode
Twitter : https://twitter.com/thetechdcode
Telegram Channel : https://t.me/thetechdcode
Tech DCode Linktree : https://linktr.ee/thetechdcode
My Personal Handles : https://linktr.ee/virtualshivamin
Social Media Links of SHIVAM SINGH (OWNER) :
Instagram : https://www.instagram.com/virtualshivamin/
Facebook Page : https://www.facebook.com/virtualshivamin/
Twitter : https://twitter.com/virtualshivamin/
Personal Linktree : https://linktr.ee/virtualshivamin