c语言编程题面试
C Interview Questions and Answers – Here you will find frequently asked C language interview questions and answers with suitable examples on various C language topics.
C面试问题和答案 –在这里,您会发现常见的C语言面试问题和答案,以及有关各种C语言主题的合适示例。
常见/常见的C面试问题 (Frequently /commonly asked C Interview Questions)
1) What is modular programming?
1)什么是模块化编程?
Modular programming is a program design technique in which a large program is divided into sub programs/ functions that are called modules, it improve maintainability of a program. It makes software development, debug, modify, update faster and easy.
模块化编程是一种程序设计技术,其中将大程序分为称为模块的子程序/功能,它提高了程序的可维护性。 它使软件开发,调试,修改,更新更快,更容易。
2) How many keywords & operators are used in c Language?
2)c语言中使用了多少关键字和运算符?
There are 32 keywords & 45 operators that are used in c programming language.
使用c编程语言有32个关键字和45个运算符。
3) What is variable?
3)什么是变量?
Variable is a named location with unique name, used to stored data according to the requirement.
变量是具有唯一名称的命名位置,用于根据需要存储数据。
4) What is the return type of printf() function, and what it returns ?
4)printf()函数的返回类型是什么,它返回什么?
printf() is a library function, the prototype of printf() is available in <stdio.h>, It returns a interger value, that describe how many charaters are printed on console.
printf()是一个库函数, <stdio.h>中提供了printf()的原型,它返回一个整数值,该值描述控制台上打印了多少个字符。
5) What is the return type of scanf() function, and what it returns ?
5)scanf()函数的返回类型是什么,它返回什么?
scanf() is a library function, the prototype of scanf() is availabe in <stdio.h>, It returns a integer value, that describe successful input from console in variable.
scanf()是一个库函数,在<stdio.h>中提供了scanf()的原型,它返回一个整数值,该整数值描述了从控制台成功输入变量。
6) What is f