Home / C Programming / Library Functions :: Discussion

Discussion :: Library Functions

  1. Point out the error in the following program.

     #include
      
      int main()
      {   
         char str[] = "FresherGATE";     
         printf("%.#s %2s", str, str);     
         return 0;
      } 
    

  2. A.

    Error: in Array declaration

    B.

    Error: printf statement

    C.

    Error: unspecified character in printf

    D.

    No error

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment