logo

Crowdly

var head = document.getElementsByTagName('head')[0]; var link = documen...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

var head = document.getElementsByTagName('head')[0];

var link = document.createElement('link');

link.rel = 'stylesheet';

link.type = 'text/css';

link.href = 'https://cdn.jsdelivr.net/highlight.js/9.1.0/styles/github.min.css';

link.media = 'all';

head.appendChild(link);

hljs.initHighlightingOnLoad();

What is the console output produced by the code below ?

#define LNG 8

int main()

{

int

tab[LNG];

int

i;

for(i=0

; i<LNG; i++)

{

tab[i] =

2*i+1

;

}

for(i=0; i<(LNG>>1

); i++)

{

printf("%d ", tab[2

*i]);

}

}

More questions like this

Want instant access to all verified answers on moodle.umontpellier.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!