Home / MCQ Bank / Computer
Computer Arrays And Strings Difficulty: Medium

What will be the output of the following C code? const char str1[] = "abcdef"; const char str2[] = "fgha"; char *mat; mat= strpbrk(str1, str2); if(mat) printf("First matching character: %c\n", *mat); else printf("Character not found");

Select the correct option to test your answer:

More Computer Questions

Which of the following allows the sandboxed iframe to run scripts from the same domain? VDU is also called ....... What will be the output of the following C# code snippet? class Program { static void Main(string[] args) { char []chars = {'a', 'b', 'c'}; String s = new String(chars); Console.WriteLine(s); Console.ReadLine(); } } Your business has contracted with another company to have them host and run an application for your company over the Internet. The company providing this service to your business is called an The statement int ** a;