Question: 1-What do the terms static and dynamic mean in a programming language? 2-Consider the following c code: int k; int l; int *p; int *s;

1-What do the terms static and dynamic mean in a programming language?

2-Consider the following c code:

int k;

int l;

int *p;

int *s;

k=20;

l=30;

p=&l;

s=&k;

*p= 5;

What will the final values of the variables k, l, *p, *s after executing the above code?

3-What is strong typing and what is its advantages?

4-What is a data type? Why do programming languages have data types?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!