Q. How Print statements used in Software testing?
Print statements:-The standard print statement in the language being utilized is sprinkled throughout the program to output values of key variables.
Advantages:-
1) This is a easy way to test whether a particular variable changes as it should after a particular event.
2) A series of print statements portrays the dynamics of variable changes.
Disadvantages:-
1) They are awkward to utilize on large programs.
2) If used indiscriminately they are able to produce copious data to be analyzed a great deal of which is superfluous.