c lab viva questions and answers pdf
#1

All the questions and answers of clab practicals
Reply
#2

1) How do you construct an increment statement or decrement statement in C?

There are actually two ways you can do this. One is to use the increment operator ++ and decrement operator –. For example, the statement “x++” means to increment the value of x by 1. Likewise, the statement “x –” means to decrement the value of x by 1. Another way of writing increment statements is to use the conventional + plus sign or – minus sign. In the case of “x++”, another way to write it is “x = x +1”.

2) What is the difference between Call by Value and Call by Reference?

When using Call by Value, you are sending the value of a variable as parameter to a function, whereas Call by Reference sends the address of the variable. Also, under Call by Value, the value in the parameter is not affected by whatever operation that takes place, while in the case of Call by Reference, values can be affected by the process within the function.

3) Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

Placing comment symbols /* */ around a code, also referred to as “commenting out”, is a way of isolating some codes that you think maybe causing errors in the program, without deleting the code. The idea is that if the code is in fact correct, you simply remove the comment symbols and continue on. It also saves you time and effort on having to retype the codes if you have deleted it in the first place.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  pdf k53 learners test questions and answers 2015 pdf 2 11,383 18-05-2018, 06:21 PM
Last Post: Guest
  viva question answer of flywheel experiment pdf 2 3,788 22-02-2018, 03:12 PM
Last Post: Guest
Thumbs Up online catering management system on php with report and source code and ppt 4 8,993 29-04-2017, 10:59 AM
Last Post: jaseela123d
  surveying 2 lab viva questions with answers pdf free download 3 1,427 26-04-2017, 09:47 AM
Last Post: jaseela123d
  physics practical viva questions for bsc 4 2,058 15-02-2017, 02:06 PM
Last Post: jaseela123d
  cp7102 2 marks with answers 2 794 27-09-2016, 02:48 PM
Last Post: Guest
  cryptography and network security by atul kahate pdf torrent 2 2,562 16-08-2016, 12:08 PM
Last Post: Guest
  questions asked in viva on topic inventory management 2 1,136 23-07-2016, 02:55 PM
Last Post: jaseela123d
  tata steel intern techniqal questions pdf 1 803 23-07-2016, 10:37 AM
Last Post: visalakshik
  automatic toll collection system using rfid viva questions 2 946 23-07-2016, 10:10 AM
Last Post: jaseela123d

Forum Jump: