What is the output of the following code? def f(x): return 3*x def g(x): return 4*x print(f(g(2)))Questions & Answers › Category: Programming Language › What is the output of the following code? def f(x): return 3*x def g(x): return 4*x print(f(g(2))) 0 Vote Up Vote Down Adam asked 2 years ago What is the output of the following code?def f(x): return 3*x def g(x): return 4*x print(f(g(2))) a. 8 b. 6 c. 24 d. ErrorShare this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...1 Answers 0 Vote Up Vote Down Lokesh Kumar Staff answered 2 years ago c. 24Share this:Click to share on Facebook (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on WhatsApp (Opens in new window)Click to print (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Like this:Like Loading...