C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[72590] <쌩초보 질문> C++
맹꽁맹꽁 [] 3911 읽음    2015-04-28 10:54




안녕하세요 C++ 공부한지 갓 2주된 초보 프로그래머입니다.

True/False 문제를 풀어보고 답을 적어봤는데 답지가 없어서 맞는지 틀린지 모르겠어요...

고수님들의 힘이 필요합니다!!! :)

1.
(a) OOP is an acronym that means Object Oriented Programming.
(a) OOP = Object Oriented Programming (T)

(b) In C++ the variables Alpha, ALPHA and AlphA are the same identifier.
(b) 변수 ALPHA와 AlphA는 같은 식별자이다 (F)

(c) In a while loop, the Boolean_Expression is executed before each execution of the loop body.
(c) while문에서는 부울 식이 먼저 체크되고 실행문을 실행한다. (T)

(d) In a do-while loop, a continue statement terminates the loop.
(d) do-while문에서 continue statement가 루프를 종료시킨다. (F)
답 : break문

(e) A variable declared outside any function is said to be a local variable.
(e) 함수의 외부에서 정의된 변수를 지역 변수라고 한다. (F)
답 : 전역 변수(global variable)

(f) There is only one kind of parameter passing in C++, namely call-by-value.
(f) C++에서는 오직 한 개의 매개변수(parameter) call-by-value만이 있다. (F)
답 : call-by-reference도 있음

(g) Names of parameters in functions, especially function prototypes, have no meaning, and may be
seleced quite arbitarily
(g) 특히 함수원형에서 형식 매개변수의 이름은 식별자로 사용할 수 있는 거라면 어떤 것이든 상관없다. (T)

(h) Consider the array declaration, int x[20];. There is no memory allocated for x[20].
(h) 배열의 선언에서 int x[20];이 있다. 이 때 x[20]에는 아무런 메모리 할당이 안된다. (F)
답 : 할당 됨

(i) Arrays in C++ may have several different types stored in them.
(i) C++에서 배열은 그곳 안에 저장된 많은 다른 타입을 갖는다. (T)

(j) A class is a type similar to a structure type that normally has member functions as well as member variables.
(j) 클래스는 구조체형과 유사한 형이고 보통 멤버 변수뿐만 아니라 멤버 함수들을 가진다. (T)

긴 글 읽어주셔서 감사합니다!!!

+ -

관련 글 리스트
72590 <쌩초보 질문> C++ 맹꽁맹꽁 3911 2015/04/28
72592     Re:<쌩초보 질문> C++ 숙제는_집에서 3691 2015/04/28
72593         Re:Re:<쌩초보 질문> C++ 맹꽁맹꽁 3781 2015/04/28
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.