Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Programming Languages > C

C C Interview Questions, Learn by sharing C Interview Questions asked in various companies, Get Career advices, Interview Procedures from C experts, Post asked C Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2008, 11:48 AM
Senior Member
 
Join Date: Feb 2008
Posts: 9,095
Default Can we use a C++

Can we use a C++ compiler to compile C code?
Reply With Quote
  #2 (permalink)  
Old 06-18-2008, 02:10 PM
Junior Member
 
Join Date: Jun 2008
Posts: 3
Default

yes we can use a c++ compiler to compile a c code.
Reply With Quote
  #3 (permalink)  
Old 07-08-2008, 01:11 PM
Junior Member
 
Join Date: Jul 2008
Posts: 4
Default

yes we use c++ complier to complete a c code
Reply With Quote
  #4 (permalink)  
Old 07-09-2008, 06:06 AM
Junior Member
 
Join Date: Jul 2008
Posts: 5
Default

still some restrictions are there.
use extern "C"
{
//c code
}
for c style coding in c++.
Reply With Quote
  #5 (permalink)  
Old 07-11-2008, 11:12 AM
Junior Member
 
Join Date: Jul 2008
Posts: 5
Default

Yes we can compile c code in cpp compiler but we can't compile cpp in c compiler...
Reply With Quote
  #6 (permalink)  
Old 08-14-2008, 11:04 AM
Junior Member
 
Join Date: Aug 2008
Posts: 11
Default

yes we can use C++ compler to compile C code
Reply With Quote
Reply

Tags
c language, interview questions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On