#c is similar to c language right? And why it need objects and all?
I learnt c language in my college and we used to execute the program in turbo c.. v didn't create objects or classes.. and to print v used to use "printf" rather than console.writeline.. therefore it's lil bit confusing me
I remember we used #include<stdio.h> header file for the purpose of input and output purpose
I took the shortcut questions to complete my lesson in #c thinking that it's c and I completed 2-3 modules.. does that mean both r same?
C# is a object oriented laguage that is compiled to bytecode and just in time compiled. it has a garbage collector and a c/c++ like syntax. c/c++ are compiled to machine code and you have to do memory management yourself. c++ is object oriented but c is not. so c and c# are very different. you could complete the first few modules because they use similar syntax for switch, for loops, while loops, if else and functions. but there are a lot of differences even for these simple constructs. for example in c switch only accepts variables of integral or enumerated type or types that can be converted to integral of enumerated type, whereas the switch in c# 7.0 can be anything thats not NULL. objects are used because they are useful at structuring programs and help programmers reason about code especially in large codebases and help encapsulate behavior and data that the user of an object does not need to know about
as far as I know #c is a high level language which is having a small difference with c and c++...it is linked with object and classes... and #c also produces a code output rather than a machine..
no as far as I know... c is low level language... where as #c is high level programming language... which is different from c and c++...but basic simiraity with java... that is why #c produces out in code way.... but some basic fundamantals are similar for c and #c as far as I know