• Study Materials – Company wise
    • Infosys Archive
    • Accenture Archive
    • AMCAT Archive
    • Capgemini Archive
    • Cisco Archive
    • CoCubes Archive
    • Cognizant(CTS) Archive
    • Dell Archive
    • Deloitte Archive
    • DXC Archive
    • Goldman Sachs Archive
    • Hexaware Technologies Archive
    • LTI Archive
    • MindTree Archive
    • TCS Archive
    • Virtusa Archive
    • Wipro Archive
  • Interview Preparation – E Books
    • C Interview Questions
    • Data Structures Interview Questions
    • DBMS Interview Questions
    • HR Interview Questions
    • Java Interview Questions
    • Operating System Interview Questions
    • Python Interview Questions
    • SQL Query Interview Questions
  • Programming
    • C Programming MCQs
    • C Code Snippets – Output Questions
    • Python Code Snippets – Output Questions
  • Aptitude
    • Verbal Ability for Placements
    • Quant for Placements
  • Register
  • Login
CODE OF GEEKS

We at CODE OF GEEKS, aim at providing best and quality content for our users at no extra cost.

    • Study Materials – Company wise
      • Infosys Archive
      • Accenture Archive
      • AMCAT Archive
      • Capgemini Archive
      • Cisco Archive
      • CoCubes Archive
      • Cognizant(CTS) Archive
      • Dell Archive
      • Deloitte Archive
      • DXC Archive
      • Goldman Sachs Archive
      • Hexaware Technologies Archive
      • LTI Archive
      • MindTree Archive
      • TCS Archive
      • Virtusa Archive
      • Wipro Archive
    • Interview Preparation – E Books
      • C Interview Questions
      • Data Structures Interview Questions
      • DBMS Interview Questions
      • HR Interview Questions
      • Java Interview Questions
      • Operating System Interview Questions
      • Python Interview Questions
      • SQL Query Interview Questions
    • Programming
      • C Programming MCQs
      • C Code Snippets – Output Questions
      • Python Code Snippets – Output Questions
    • Aptitude
      • Verbal Ability for Placements
      • Quant for Placements
    • Register
    • Login
  • [email protected]
  • ..
Login / Register
Apply Now
CODE OF GEEKS
CODE OF GEEKS
  • Study Materials – Company wise
    • Infosys Archive
    • Accenture Archive
    • AMCAT Archive
    • Capgemini Archive
    • Cisco Archive
    • CoCubes Archive
    • Cognizant(CTS) Archive
    • Dell Archive
    • Deloitte Archive
    • DXC Archive
    • Goldman Sachs Archive
    • Hexaware Technologies Archive
    • LTI Archive
    • MindTree Archive
    • TCS Archive
    • Virtusa Archive
    • Wipro Archive
  • Interview Preparation – E Books
    • C Interview Questions
    • Data Structures Interview Questions
    • DBMS Interview Questions
    • HR Interview Questions
    • Java Interview Questions
    • Operating System Interview Questions
    • Python Interview Questions
    • SQL Query Interview Questions
  • Programming
    • C Programming MCQs
    • C Code Snippets – Output Questions
    • Python Code Snippets – Output Questions
  • Aptitude
    • Verbal Ability for Placements
    • Quant for Placements
  • Register
  • Login
0

Cart

C Programming – Objective Type Questions

  • June 12, 2020
  • CODE OF GEEKS
  • 6


Q56. What does ‘[^\n]’ indicates ?

a) Array of ‘n’ elements.

b) String upto ‘n’ elements.

c) Input will be taken until new line is encountered.

d) None of the above

(c)

Q57. Which string function is used to find the first occurrence of a given character in a string.

a) strchr

b) strerr

c) strrchr

d) strcmp

(a)

Q58. Which string function is used to find the first occurrence of a given string in another string.

a) strcmp

b) strchr

c) strstr

d) strfind

(c)

Q59. Which string function is used to set first ‘n’ characters of a given character to a given character.

a) strsetn

b) strset_n

c) strnset

d) strset

(c)



Q60. Which string function is used to get the duplicate of a string.

a) strdup

b) strdupli

c) duplicate

d) strcpy

(a)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13
Tags: cc mcqsprogramming mcqs
  • Previous InfyTQ Final Round 2020 – Result Update
  • Next Hack with Infy Round 2 Cut-Off to be in Top 100

6 comments on “C Programming – Objective Type Questions”

  1. Sonu Raj says:
    August 20, 2020 at 6:17 am

    Thanks For Your Support.

    Reply
  2. Projjal says:
    August 24, 2020 at 8:51 am

    Good work. Keep it up!!!

    Reply
  3. Radhe shyam Saini says:
    September 7, 2020 at 7:49 am

    great work bro

    Reply
  4. Anish Roy says:
    September 27, 2020 at 9:20 pm

    Good Work Shrey Sir and his team:)

    Reply
  5. Mukesh Patel says:
    March 31, 2021 at 5:26 pm

    How many keywords are there in Standard C programming language ? Ans is 32 not 44

    Reply
    1. Support@COG says:
      March 31, 2021 at 7:01 pm

      Standard C has 44 keywords including C89 – 32, C99 – 5, C11 – 7.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

CODE OF GEEKS

Subscribe to Newsletter

CODE OF GEEKS

Learn | Code | Achieve

Reach us

[email protected]
We at CODE OF GEEKS, aim at providing quality content to our users at no cost.
CODE OF GEEKS

Important Pages

About us
Advertise
Privacy Policy
Terms and Conditions

Placements – Study Materials

TCS NQT     Wipro     CapGemini
Accenture     MindTree     CTS
DXC     Hexaware Technologies     AMCAT
CoCubes     Goldman Sachs     Dell
Cisco     Deloitte     Virtusa     LTI     Infosys   

Courses

  • Mail Us
  • Login/Register

Recent Posts

What is Cloud Computing | Cloud Computing Applications | Cloud Development Models| SaaS vs PaaS vs IaaS
  • October 23, 2021
What is Amazon Web Services | AWS Regions & AZs | Different AWS Services
  • October 19, 2021

Copyright 2021 CODE OF GEEKS. All Rights Reserved.

  • →