Assign Questions

Ad

MISRA: Compound Assignment operators

I have taken over code that has a lot of compound assignment operators in it. i think that compound operators are not 'really' misra compliant. i
Ad

Reshape changes assignment rules

I have this sample code where the value of 'a' is not explicitly updated in the logic of the code. yet, when i print the output- both the
Ad

What does *= do?

Hey i am kinda new to c and i wanted to ask why this prints out 4 instead of 260? #include
Ad

C multiple variable assignment

I'm first year student in software engineering and in my last task i used (chain assignment) multiple assignment of values. the lecturer

Assign string to int in C

I have this code below: #include <stdio.h> int main(void) { int i = "hello world"; printf("%d", i); return 0;
Ad

Matrix assignment in place?

Suppose i initialize a matrix as follows: import scipy m = scipy.zeros((10, 10)) now i do some calculations, and
Ad
Ad

Blog Categories

Ad