EasyExamNotes.comFind the time complexity of sum of two numbersOctober 31, 2021 · Team EasyExamNotes · 1 min read (est.)Print / Save PDFPDFShare on WhatsAppShareCopy linkCopy What is the time complexity of the program for the sum of two numbers ? Step count method void main() { int a,b,c; //———-0 a=10; //———-1 b=20; //———-1 c=a+b; //———-1 } f(n) = 0+1+1+1 = 3 f(n) = O(1) Tags: Time ComplexitySource: https://easyexamnotes.com/find-the-time-complexity-of-sum-of-two-numbers/