C vs C++ for College Credit: What's Different, Which to Take

Home › Courses › C vs C++

CS 240 vs CS 2423 credits eachNCCRS recommended

C vs C++ for college credit: what's different in the two courses

Both courses start from your first program and teach decisions, loops, functions, arrays, strings, pointers, files and structures. Programming in C++ adds classes and objects, vectors, inheritance and polymorphism; Programming in C stays procedural, with pointer arithmetic, unions, stacks and queues. Neither lists a prerequisite.

Programming in C course

Computer Science 240 · 3 credits · NCCRS

Programming in C

Procedural C: data types, decisions, loops, functions, arrays, strings, pointers, files, structures and linked lists.

Take first
Either: neither lists a prerequisite
Only in C++
Classes, inheritance, polymorphism
Credit
3 semester hours each

What you learn

From the syllabi: what only one course covers, and where they meet.

Only in C

  • Pointer arithmetic
  • Unions
  • The math library
  • Stacks and queues

In both

  • Decisions and loops
  • Functions and recursion
  • Arrays and strings
  • Pointers and dynamic memory
  • Files
  • Structs
  • Linked lists

Only in C++

  • Classes and objects
  • Vectors
  • Encapsulation
  • Inheritance and polymorphism

Side by side

Programming in C (CS 240) and Programming in C++ (CS 242), from the two syllabi
 Programming in CProgramming in C++
Course codeComputer Science 240Computer Science 242
Chapters11 chapters11 chapters
Instructional hours47.5 hours51.5 hours
StyleProcedural: no classesObject-oriented: classes and objects
Ends withDynamic memory, linked lists, stacks and queuesInheritance and polymorphism
ACENo: NCCRS only for both
PrerequisitesNone listed in either syllabus
Final exam100 multiple-choice questions

Both are self-paced: quizzes and the assignment are open-book, the final is proctored, and 70 or higher passes.

Which one should you take?

Neither needs the other first: take the one your program names.

Take C if

  • Your program lists C or Programming in C
  • You want procedural programming, without classes
  • You want stacks and queues built in C

Take C++ if

  • Your program lists C++ or Programming in C++
  • You want classes, inheritance and polymorphism
  • You want to watch free lessons before you enroll

Questions, answered

What is the difference between C and C++?

Both courses teach decisions, loops, functions, arrays, strings, pointers, files and structures. Programming in C stays procedural and ends with dynamic memory, linked lists, stacks and queues. Programming in C++ adds classes and objects, vectors, encapsulation, inheritance and polymorphism. The syllabi list 47.5 instructional hours for C and 51.5 for C++, in 11 chapters each.

Should I learn C or C++ first?

Neither syllabus lists a prerequisite, and both start from your first program, so take the one your program names. If nothing decides it and you want object-oriented programming, take C++: C has no classes. You can watch free C++ lessons first.

How much credit is each course worth?

NCCRS recommends 3 semester hours for each, in the lower division: Computer Science and Electrical or Computer Engineering for C; Computer Science, Electrical, or Computer Engineering for C++. Neither carries an ACE recommendation; Programming in Python does, if you need one.

What subject areas do Programming in C and Programming in C++ count in?

Programming in C: Computer Science and Electrical or Computer Engineering. Programming in C++: Computer Science, Electrical, or Computer Engineering. Your college decides which requirement each one fills.

How long are Programming in C and Programming in C++?

Programming in C: 11 chapters and 47.5 instructional hours. Programming in C++: 11 chapters and 51.5 instructional hours. Both are self-paced, so you finish as fast or as slow as you want.

What are the final exams like in Programming in C and Programming in C++?

Each ends with 100 multiple-choice questions; Programming in C after 11 chapters, Programming in C++ after 11.

Are Programming in C and Programming in C++ on the ACE list?

No: neither is on the ACE list. Programming in C has an NCCRS recommendation for 3 semester hours in Computer Science and Electrical; Programming in C++ has an NCCRS recommendation for 3 semester hours in Computer Science. Not being on the ACE list never means not recommended for credit.

What should I take after Programming in C++?

Introduction to Java. In the “Start programming” order on the Computer Science courses page, it follows Programming in C++. Your program may set its own order.

Can I see the Programming in C syllabus before I enroll?

Yes: the Programming in C syllabus opens after a free sign-in. It lists all 11 chapters, the grading and the credit recommendation, so you can send it to your registrar.

Is the Programming in C final exam open-book?

No. Open-book is fine for the Programming in C quizzes and assignment, but the final is proctored: lightly, with no camera, once you are at 70% or more, and fully otherwise.

Do colleges give credit for Programming in C and Programming in C++?

ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities. Search your school in Find My College and ask your registrar which courses Computer Science 240 and 242 would count as. It helps to name the subject: NCCRS recommends Programming in C in Computer Science and Electrical and Programming in C++ in Computer Science.

Where these credits can go

ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

  • Thomas Edison State University (TESU) logo
  • University of the People logo
  • Strayer University logo
  • Post University logo
  • Charter Oak State College logo
  • Indiana Tech logo
  • Columbia Southern University logo
  • University of Arkansas Grantham logo
  • American College of Education logo
  • Nexford University logo
  • Newlane University logo
  • Pathways College logo
  • Dunlap-Stone University logo
  • Woodmont College logo
  • University of Management and Technology (UMT) logo
  • Crestpoint University logo
  • Maestro University (formerly Bottega University) logo
  • Gracelyn University logo
  • EC-Council University logo

Plus many more partner colleges and ACE and NCCRS cooperating colleges.

Find My College →

Keep exploring

Check your college first

ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Sources (3)

UPI Study facts are from our course catalog, syllabi and course rules.