Home / MCQ Bank / Computer
Computer Standard Library Functions Difficulty: Medium

What will be the output of the following C code? char str[20]; strcpy(str, "123456"); res = atoi(str); printf("%s %d\n", str, res);

Select the correct option to test your answer:

More Computer Questions

What is the output for the below code? import java.io.FileNotFoundException; class A{ public void printName() throws FileNotFoundException{ System.out.println("Value-A"); } } class B extends A{ public void printName() throws NullPointerException{ System.out.println("Name-B"); } } public class Test{ public static void main (String[] args) throws Exception{ A a = new B(); a.printName(); } } What is the function used to stop capturing the ad hoc timing ? In the context of Microsoft Word, there is a feature called 'Gutter Margin'. What is this feature used for? How do you find the number of seconds between two Time objects in Ruby? What is the term for a machine learning technique that involves training models on multiple subsets of the data and combining their predictions?