answersLogoWhite

0

Example:

int i;

intptr_t j;

char *p;

i= p; /* wrong */

p= i; /* wrong */

j= (intptr_t)p; /* okay */

p= (char *)p; /* okay */

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Is NET programming is update from C plus plus programming?

No. .NET programming is Microsoft-specific, similar to Java in some respects, but it is non-portable. C++ is a general purpose and cross-platform programming language.


What are the Examples of portable programming language?

Many programming languages allow programs to be portable from one kind of computer to another, including* the C programming language* Pascal* Forth* C++* Java* Pythonand many others. Yes, the C programming language was designed to encourage machine-independent programming.The C programming language is portable to more CPUs than any other programming language.


Is c language is heterogeneous?

Programming languages cannot be 'portable', but programs written in C might be portable, if they follow the strictest standards and do not use platform-specific features or functions.


What is lint in c language?

Lint is suspicious or non-portable code. Lint is also the name of a program that looks for suspicious or non-portable code.


What do you mean by non primitive data structure in C programming?

What do you mean by searching in data structure in C.?


How can you make a graphics program portable?

Any program can become portable (if that means multi-platform) by rewritting in a programming language like Java and including the jvm with the program First, use a portable programming language and associated portable libraries. Java is one, others are C/C++, FreeBASIC, The suite of GCC when coupled with Cygwin. There are many portable graphics libraries to use. A few are: Simple Direct Media Layer (Video, Audio and Input) OpenGL 2d & 3d Graphics Included with almost ALL systems MESA (A layer on top of OpenGL)


What are examples of Object Oriented programming language?

Machine code, assembly language and C are all non-object oriented programming languages. Fortran, COBOL, Pascal and BASIC were originally non-object oriented languages but there are now object-oriented variants of these languages. C++, C# and Java were all designed with object-oriented programming in mind from the outset.


Are negative number considered true or false in C programming?

zero= false, non-zero=true


What is c and c in computer programming?

C and C++ are both high-level programming languages.


Create a spiral in C programming?

create spiral in c programming?


Why is Unix portable?

Unix was rewritten in the C Programming language and not in assembly language. The migration from assembly language to the higher-level language C resulted in much more portable software, requiring only a relatively small amount of machine-dependent code to be replaced when porting Unix to other computing platforms. (mihir)


What does 'C date and time functions' refer to?

C date and time functions refer to a group of functions in the standard library of the C programming language that implements time and date operations like conversion between date formats.