Question Set

1. While calling the fprintf() function in the format string conversion specifier %s can be used to write a character string in capital letters.



Ask Your Doubts Here

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

  • By: guest on 01 Jun 2017 06.02 pm
    The %s format specifier tells the compiler the given input was string of characters.
Show Similar Question And Answers
QA->A word is given in capital letters. It is followed by four words. Out of these four words, three cannot be formed from the letters of the word in capital letters. Point out the word which can be formed from the letters of the given word in capital letters— ARCHITECTURE....
QA->A girl started counting the fingers of her left hand, calling the thumb 1, the index finger 2, middle finger 3, ring finger 4, little finger 5 and then reversed the direction calling the ring finger 6 middle finger 7 and do on. She counted upto She ended counting on ……………… finger....
QA->A word given in Capital Letters is followed by four answer words. Out of these only one can be formed by using the letters of the given words. Find out that word— ENVIRONMENT....
QA->If function inside another function is called a _____ Function....
QA->A word given in capital letters is followed by four words. Out of these only one cannot be formed by using the letters of the given word. Find out that word— REVOLUTIONARY....
MCQ->While calling the fprintf() function in the format string conversion specifier %s can be used to write a character string in capital letters.....
MCQ->Which of the following statements are correct ? 1: A string is a collection of characters terminated by '\0'. 2: The format specifier %s is used to print a string. 3: The length of the string can be obtained by strlen(). 4: The pointer CANNOT work on string.....
MCQ->Which of the following statements are correct? String is a value type. String literals can contain any character literal including escape sequences. The equality operators are defined to compare the values of string objects as well as references. Attempting to access a character that is outside the bounds of the string results in an IndexOutOfRangeException. The contents of a string object can be changed after the object is created.....
MCQ->Which of the following statements is correct about the C#.NET program given below if a value "6" is input to it? using System; namespace IndiabixConsoleApplication { class MyProgram { static void Main(string[] args) { int index; int val = 44; int[] a = new int[5]; try { Console.Write("Enter a number:"); index = Convert.Tolnt32(Console.ReadLine()); a[index] = val; } catch(FormatException e) { Console.Write("Bad Format"); } catch(IndexOutOfRangeException e) { Console.Write("Index out of bounds"); } Console.Write("Remaining program"); } } }....
MCQ->Which of the following statements is correct about the C#.NET program given below if a value "ABCD" is input to it? using System; namespace IndiabixConsoleApplication { class MyProgram { static void Main(string[] args) { int index; int val = 55; int[] a = new int[5]; try { Console.Write("Enter a number: "); index = Convert.ToInt32(Console.ReadLine()); a[index] = val; } catch(FormatException e) { Console.Write("Bad Format "); } catch(IndexOutOfRangeException e) { Console.Write("Index out of bounds "); } Console.Write("Remaining program "); } } }....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use | Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions
Question ANSWER With Solution